netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] netlink: specs: netdev: Add missing qstats counters to reply
@ 2025-11-05 19:40 Gal Pressman
  2025-11-06  1:13 ` Jakub Kicinski
  0 siblings, 1 reply; 3+ messages in thread
From: Gal Pressman @ 2025-11-05 19:40 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Andrew Lunn, netdev
  Cc: Simon Horman, Donald Hunter, Gal Pressman, Carolina Jubran

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@nvidia.com>
Signed-off-by: Gal Pressman <gal@nvidia.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] netlink: specs: netdev: Add missing qstats counters to reply
  2025-11-05 19:40 [PATCH net-next] netlink: specs: netdev: Add missing qstats counters to reply Gal Pressman
@ 2025-11-06  1:13 ` Jakub Kicinski
  2025-11-09 12:16   ` Gal Pressman
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Kicinski @ 2025-11-06  1:13 UTC (permalink / raw)
  To: Gal Pressman
  Cc: David S. Miller, Eric Dumazet, Paolo Abeni, Andrew Lunn, netdev,
	Simon Horman, Donald Hunter, Carolina Jubran

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 <cjubran@nvidia.com>
> Signed-off-by: Gal Pressman <gal@nvidia.com>

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/20251104232348.1954349-2-kuba@kernel.org/
-- 
pw-bot: nap

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] netlink: specs: netdev: Add missing qstats counters to reply
  2025-11-06  1:13 ` Jakub Kicinski
@ 2025-11-09 12:16   ` Gal Pressman
  0 siblings, 0 replies; 3+ messages in thread
From: Gal Pressman @ 2025-11-09 12:16 UTC (permalink / raw)
  To: Jakub Kicinski
  Cc: David S. Miller, Eric Dumazet, Paolo Abeni, Andrew Lunn, netdev,
	Simon Horman, Donald Hunter, Carolina Jubran

On 06/11/2025 3:13, Jakub Kicinski wrote:
> 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 <cjubran@nvidia.com>
>> Signed-off-by: Gal Pressman <gal@nvidia.com>
> 
> 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/20251104232348.1954349-2-kuba@kernel.org/

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-11-09 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-05 19:40 [PATCH net-next] netlink: specs: netdev: Add missing qstats counters to reply Gal Pressman
2025-11-06  1:13 ` Jakub Kicinski
2025-11-09 12:16   ` Gal Pressman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).