]> 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)
commit6b22ed52e069e732da2b12e129238a302ec81f17
tree7d258f9a3ed9cf61ea4bb2744a0544924b6aaf7c
parent965ddd4c7f059b902af123a7318c6494a1479750
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