netlink: specs: netdev: Add missing qstats counters to reply
Subsystems (3)
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.
--- Documentation/netlink/specs/netdev.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
Documentation/netlink/specs/netdev.yaml +23 -0
@@ -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
Jakub Kicinski
maintainerQuoted 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")Reviewed-by Carolina Jubran <[email protected]>Signed-off-by Gal Pressman <[email protected]>
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
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")Reviewed-by Carolina Jubran <[email protected]>Signed-off-by Gal Pressman <[email protected]>
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!