History

net: nexthop: Add ability to enable / disable hardware statistics

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

Ido Schimmel committed 2 years ago

Commit 746c19a1 parent 58777863 files · +19 −1Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/nexthop.h+3−0
@@ -68,6 +68,9 @@ enum { · 67 unmodified lines
68 /* nested; nexthop group stats */68 /* nested; nexthop group stats */
69 NHA_GROUP_STATS,69 NHA_GROUP_STATS,
70 70
71 /* u32; nexthop hardware stats enable */
72 NHA_HW_STATS_ENABLE,
73
71 __NHA_MAX,74 __NHA_MAX,
72};75};
73 76