History

net_sched: add TCA_STATS_PKT64 attribute

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.

Eric Dumazet committed 7 years ago

Commit b33e6991 parent d0083d93 files · +10 −2Browse files

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

Unified · Split

include/uapi/linux/gen_stats.h+1−0
@@ -13,6 +13,7 @@ enum { · 12 unmodified lines
13 TCA_STATS_RATE_EST64,13 TCA_STATS_RATE_EST64,
14 TCA_STATS_PAD,14 TCA_STATS_PAD,
15 TCA_STATS_BASIC_HW,15 TCA_STATS_BASIC_HW,
16 TCA_STATS_PKT64,
16 __TCA_STATS_MAX,17 __TCA_STATS_MAX,
17};18};
18#define TCA_STATS_MAX (__TCA_STATS_MAX - 1)19#define TCA_STATS_MAX (__TCA_STATS_MAX - 1)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t