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
6868 /* nested; nexthop group stats */
6969 NHA_GROUP_STATS,
7070
71+ /* u32; nexthop hardware stats enable */
72+ NHA_HW_STATS_ENABLE,
73+
7174 __NHA_MAX,
7275 };
7376