diff options
| author | Ido Schimmel <[email protected]> | 2021-03-11 18:03:20 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-12 00:13:00 +0000 |
| commit | cfc15c1dbb0b7574498eef453b8ddb534e408551 (patch) | |
| tree | 8b672cf9fcc0e9f51c8d856366f7c3af587b55f5 /net/tipc/node.c | |
| parent | nexthop: Allow setting "offload" and "trap" indication of nexthop buckets (diff) | |
| download | kernel-cfc15c1dbb0b7574498eef453b8ddb534e408551.tar.gz kernel-cfc15c1dbb0b7574498eef453b8ddb534e408551.zip | |
nexthop: Allow reporting 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.
Add a function that can be periodically called by device drivers to
report activity on nexthop buckets after querying it from the underlying
device.
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: Petr Machata <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
