aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-05-13 14:58:38 -0700
committerJakub Kicinski <kuba@kernel.org>2024-05-13 14:58:38 -0700
commite5a280261c7d6973b54a9517b314610a4054f701 (patch)
tree7cb6156eadd688eba7b1ae73f5d5de22590ee055 /tools
parenttcp: socket option to check for MPTCP fallback to TCP (diff)
parentvirtio_net: Add TX stopped and wake counters (diff)
downloadwireguard-linux-e5a280261c7d6973b54a9517b314610a4054f701.tar.xz
wireguard-linux-e5a280261c7d6973b54a9517b314610a4054f701.zip
Merge branch 'add-tx-stop-wake-counters'
Daniel Jurgens says: ==================== Add TX stop/wake counters Several drivers provide TX stop and wake counters via ethtool stats. Add those to the netdev queue stats, and use them in virtio_net. ==================== Link: https://lore.kernel.org/r/20240510201927.1821109-1-danielj@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '')
-rw-r--r--tools/include/uapi/linux/netdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/netdev.h b/tools/include/uapi/linux/netdev.h
index cf24f1d9adf8..a8188202413e 100644
--- a/tools/include/uapi/linux/netdev.h
+++ b/tools/include/uapi/linux/netdev.h
@@ -165,6 +165,8 @@ enum {
NETDEV_A_QSTATS_TX_HW_GSO_WIRE_PACKETS,
NETDEV_A_QSTATS_TX_HW_GSO_WIRE_BYTES,
NETDEV_A_QSTATS_TX_HW_DROP_RATELIMITS,
+ NETDEV_A_QSTATS_TX_STOP,
+ NETDEV_A_QSTATS_TX_WAKE,
__NETDEV_A_QSTATS_MAX,
NETDEV_A_QSTATS_MAX = (__NETDEV_A_QSTATS_MAX - 1)