All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] virtio-net: fix total qstat values
@ 2025-05-07  0:32 Jakub Kicinski
  2025-05-07  0:32 ` [PATCH net 1/2] net: export a helper for adding up queue stats Jakub Kicinski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jakub Kicinski @ 2025-05-07  0:32 UTC (permalink / raw)
  To: davem
  Cc: netdev, edumazet, pabeni, andrew+netdev, horms, mst, jasowang,
	xuanzhuo, eperezma, jdamato, virtualization, Jakub Kicinski

Another small fix discovered after we enabled virtio multi-queue
in netdev CI. The queue stat test fails:

  # Exception| Exception: Qstats are lower, fetched later
  not ok 3 stats.pkt_byte_sum

The queue stats from disabled queues are supposed to be reported
in the "base" stats.

Jakub Kicinski (2):
  net: export a helper for adding up queue stats
  virtio-net: fix total qstat values

 include/net/netdev_queues.h |  6 ++++
 drivers/net/virtio_net.c    |  4 +++
 net/core/netdev-genl.c      | 69 +++++++++++++++++++++++++++----------
 3 files changed, 60 insertions(+), 19 deletions(-)

-- 
2.49.0


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

end of thread, other threads:[~2025-05-08  9:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07  0:32 [PATCH net 0/2] virtio-net: fix total qstat values Jakub Kicinski
2025-05-07  0:32 ` [PATCH net 1/2] net: export a helper for adding up queue stats Jakub Kicinski
2025-05-07  0:32 ` [PATCH net 2/2] virtio-net: fix total qstat values Jakub Kicinski
2025-05-08 10:00 ` [PATCH net 0/2] " patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.