]> 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)
commit592976e07a58ec2c67b6ddd8f104ca5ae054743e
treea0b410751d5da215609ad7372ffa17ebe0b624cf
parentf387be6641d3b592cf7e118f06103fbb9b0601e8
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