]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Add the nexthop neigh activity update
authorYotam Gigi <yotamg@mellanox.com>
Tue, 5 Jul 2016 09:27:51 +0000 (11:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2016 16:06:30 +0000 (09:06 -0700)
commit825a700e19e1c6e99d3b44e4ef541db44cc785bc
tree7d258f9a3ed9cf61ea4bb2744a0544924b6aaf7c
parent9a51660f4cb196117245d015888d466bcacfff65
mlxsw: spectrum_router: Add the nexthop neigh activity update

For nexthop neighbours we need to make kernel to think there is a traffic
flowing to them preventing it from going to stale state. Otherwise
kernel would stale it and eventually the neigh would be removed from HW
and nexthop as well. That would reduce ECMP group in HW.

Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c