History

net/core: Add new basic hardware counter

Add a new hardware specific basic counter, TCA_STATS_BASIC_HW. This can be used to count packets/bytes processed by hardware offload.

Eelco Chaudron committed 8 years ago

Commit 5e111211 parent 7ff2ea03 files · +59 −19Browse files

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

Unified · Split

include/uapi/linux/gen_stats.h+1−0
@@ -12,6 +12,7 @@ enum { · 11 unmodified lines
1212 TCA_STATS_APP,
1313 TCA_STATS_RATE_EST64,
1414 TCA_STATS_PAD,
15+ TCA_STATS_BASIC_HW,
1516 __TCA_STATS_MAX,
1617 };
1718 #define TCA_STATS_MAX (__TCA_STATS_MAX - 1)