History

netdev: Add queue stats for TX stop and wake

TX queue stop and wake are counted by some drivers. Support reporting these via netdev-genl queue stats.

Daniel Jurgens committed 2 years ago

Commit b5603511 parent c084ebd5 files · +24 −1Browse files

Showing the changes to tools/include/uapi/linux/netdev.h (1 of 5 files). Show all

Unified · Split

tools/include/uapi/linux/netdev.h+2−0
@@ -165,6 +165,8 @@ enum { · 164 unmodified lines
165165 NETDEV_A_QSTATS_TX_HW_GSO_WIRE_PACKETS,
166166 NETDEV_A_QSTATS_TX_HW_GSO_WIRE_BYTES,
167167 NETDEV_A_QSTATS_TX_HW_DROP_RATELIMITS,
168+ NETDEV_A_QSTATS_TX_STOP,
169+ NETDEV_A_QSTATS_TX_WAKE,
168170
169171 __NETDEV_A_QSTATS_MAX,
170172 NETDEV_A_QSTATS_MAX = (__NETDEV_A_QSTATS_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