Now the kernel uses 64bit packet counters in scheduler layer, we want to export these counters to user space. Instead risking breaking user space by adding fields to struct gnet_stats_basic, add a new TCA_STATS_PKT64.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -13,6 +13,7 @@ enum { · 12 unmodified lines | ||
| 13 | 13 | TCA_STATS_RATE_EST64, |
| 14 | 14 | TCA_STATS_PAD, |
| 15 | 15 | TCA_STATS_BASIC_HW, |
| 16 | + TCA_STATS_PKT64, | |
| 16 | 17 | __TCA_STATS_MAX, |
| 17 | 18 | }; |
| 18 | 19 | #define TCA_STATS_MAX (__TCA_STATS_MAX - 1) |