net: nexthop: Add hardware statistics notifications
authorIdo Schimmel <idosch@nvidia.com>
Wed, 6 Mar 2024 12:49:19 +0000 (13:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Mar 2024 10:35:47 +0000 (10:35 +0000)
commit5877786fcf52d1b255afcd61832753d1619f0738
tree81bae497b1142102f9eac8ca930d9c412453a9cc
parent95fedd7685912f96304615efe50485588b1c3567
net: nexthop: Add hardware statistics notifications

Add hw_stats field to several notifier structures to communicate to the
drivers that HW statistics should be configured for nexthops within a given
group.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/nexthop.h
net/ipv4/nexthop.c