[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251105194010.688798-1-gal@nvidia.com>
Date: Wed, 5 Nov 2025 21:40:10 +0200
From: Gal Pressman <gal@...dia.com>
To: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, Andrew Lunn <andrew+netdev@...n.ch>,
<netdev@...r.kernel.org>
CC: Simon Horman <horms@...nel.org>, Donald Hunter <donald.hunter@...il.com>,
Gal Pressman <gal@...dia.com>, Carolina Jubran <cjubran@...dia.com>
Subject: [PATCH net-next] netlink: specs: netdev: Add missing qstats counters to reply
Add all qstats counter attributes (HW-GRO, HW-GSO, checksum, drops,
etc.) to the qstats-get reply specification. The kernel already sends
these, but they were missing from the spec.
Fixes: 92f8b1f5ca0f ("netdev: add queue stat for alloc failures")
Fixes: 0cfe71f45f42 ("netdev: add queue stats")
Fixes: 13c7c941e729 ("netdev: add qstat for csum complete")
Fixes: b56035101e1c ("netdev: Add queue stats for TX stop and wake")
Reviewed-by: Carolina Jubran <cjubran@...dia.com>
Signed-off-by: Gal Pressman <gal@...dia.com>
---
Documentation/netlink/specs/netdev.yaml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/Documentation/netlink/specs/netdev.yaml b/Documentation/netlink/specs/netdev.yaml
index e00d3fa1c152..29b8290ebab5 100644
--- a/Documentation/netlink/specs/netdev.yaml
+++ b/Documentation/netlink/specs/netdev.yaml
@@ -732,6 +732,29 @@ operations:
- rx-bytes
- tx-packets
- tx-bytes
+ - rx-alloc-fail
+ - rx-hw-drops
+ - rx-hw-drop-overruns
+ - rx-csum-complete
+ - rx-csum-unnecessary
+ - rx-csum-none
+ - rx-csum-bad
+ - rx-hw-gro-packets
+ - rx-hw-gro-bytes
+ - rx-hw-gro-wire-packets
+ - rx-hw-gro-wire-bytes
+ - rx-hw-drop-ratelimits
+ - tx-hw-drops
+ - tx-hw-drop-errors
+ - tx-csum-none
+ - tx-needs-csum
+ - tx-hw-gso-packets
+ - tx-hw-gso-bytes
+ - tx-hw-gso-wire-packets
+ - tx-hw-gso-wire-bytes
+ - tx-hw-drop-ratelimits
+ - tx-stop
+ - tx-wake
-
name: bind-rx
doc: Bind dmabuf to netdev
--
2.40.1
Powered by blists - more mailing lists