mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-26 17:36:51 +08:00
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>
This commit is contained in:
committed by
David S. Miller
parent
5877786fcf
commit
746c19a52e
@@ -68,6 +68,9 @@ enum {
|
||||
/* nested; nexthop group stats */
|
||||
NHA_GROUP_STATS,
|
||||
|
||||
/* u32; nexthop hardware stats enable */
|
||||
NHA_HW_STATS_ENABLE,
|
||||
|
||||
__NHA_MAX,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user