summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ec_bhf.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2021-03-24 22:14:21 +0200
committerDavid S. Miller <davem@davemloft.net>2021-03-24 16:34:57 -0700
commitdebd2b3bf5735ec935f53f01834df6dbec35c8d3 (patch)
tree61f8624f9adadc9504d1c1f1e22b5ade369a69b6 /drivers/net/ethernet/ec_bhf.c
parent75d495b02982f5fa7eeb3fec9d9616bb7ab958bd (diff)
mlxsw: spectrum_router: Periodically update activity of nexthop buckets
The kernel periodically checks the idle time of nexthop buckets to determine if they are idle and can be re-populated with a new nexthop. When the resilient nexthop group is offloaded to hardware, the kernel will not see activity on nexthop buckets unless it is reported from hardware. Therefore, periodically (every 1 second) query the hardware for activity of adjacency entries used as part of a resilient nexthop group and report it to the nexthop code. The activity is only queried if resilient nexthop groups are in use. The delayed work is canceled otherwise. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ec_bhf.c')
0 files changed, 0 insertions, 0 deletions