Skip to contentSkip to conversation

netlink: specs: netdev: Add missing qstats counters to reply

PATCH In review Gal Pressman 2 participants 3 messages Nov 5, 2025 – Nov 9, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 Documentation/netlink/specs/netdev.yaml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
Documentation/netlink/specs/netdev.yaml +23 -0
index e00d3fa1c152..29b8290ebab5 100644
@@ -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
Signature · 1 line
2.40.1
maintainer
#1 lore raw
Quoted 10 lines · On Wed, 5 Nov 2025 21:40:10 +0200 Gal Pressman wrote:

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")

Spooky how something is broken for over a year and then multiple people send a fix within 24h! Please TAL at:
https://lore.kernel.org/all/[email protected]/

Signature · 1 line
pw-bot: nap
#2 lore raw
Quoted 12 lines · Jakub Kicinski
Quoted 10 lines · On Wed, 5 Nov 2025 21:40:10 +0200 Gal Pressman wrote:

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")
Quoted 3 lines

Spooky how something is broken for over a year and then multiple people send a fix within 24h! Please TAL at:
https://lore.kernel.org/all/[email protected]/

Sorry, didn't notice your submission, thanks for the link!