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 (1 of 3 files). Show all

Unified · Split

include/uapi/linux/gen_stats.h+1−0
@@ -12,6 +12,7 @@ enum { · 11 unmodified lines
12 TCA_STATS_APP,12 TCA_STATS_APP,
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_MAX,16 __TCA_STATS_MAX,
16};17};
17#define TCA_STATS_MAX (__TCA_STATS_MAX - 1)18#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