]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Skip redundant checks when providing NUD lastuse feedback
authorRoi Dayan <roid@mellanox.com>
Mon, 13 Nov 2017 16:07:50 +0000 (18:07 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 14 May 2018 22:10:21 +0000 (15:10 -0700)
commitc435ed7eec08ea63ef7dea0d5e2357b38ee9667b
treea0b410751d5da215609ad7372ffa17ebe0b624cf
parenta870c916a0da0c1c6034a23c04049bc6287d8045
net/mlx5e: Skip redundant checks when providing NUD lastuse feedback

It's redundant to continue the loop if we found one flow whose lastuse value
being newer than the last one we reported, since this is enough for us to
trigger a NUD update (neigh_event_send()).

Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c