diff options
author | Ido Schimmel <idosch@nvidia.com> | 2021-03-24 22:14:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-24 16:34:57 -0700 |
commit | debd2b3bf5735ec935f53f01834df6dbec35c8d3 (patch) | |
tree | 61f8624f9adadc9504d1c1f1e22b5ade369a69b6 /drivers/net/ethernet/qualcomm/qca_7k.h | |
parent | 75d495b02982f5fa7eeb3fec9d9616bb7ab958bd (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/qualcomm/qca_7k.h')
0 files changed, 0 insertions, 0 deletions