]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: nexthop: Add ability to enable / disable hardware statistics
authorIdo Schimmel <idosch@nvidia.com>
Wed, 6 Mar 2024 12:49:20 +0000 (13:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Mar 2024 10:35:47 +0000 (10:35 +0000)
commit746c19a52ec50b81422fd4772254d55e588d7df6
tree70e62b43da6c98bf450c5ddd5be208435fe5d461
parent5877786fcf52d1b255afcd61832753d1619f0738
net: nexthop: Add ability to enable / disable hardware statistics

Add netlink support for enabling collection of HW statistics on nexthop
groups.

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
include/uapi/linux/nexthop.h
net/ipv4/nexthop.c