netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Add TX stop/wake counters
@ 2024-05-09 16:32 Daniel Jurgens
  2024-05-09 16:32 ` [PATCH net-next 1/2] netdev: Add queue stats for TX stop and wake Daniel Jurgens
  2024-05-09 16:32 ` [PATCH net-next 2/2] virtio_net: Add TX stopped and wake counters Daniel Jurgens
  0 siblings, 2 replies; 14+ messages in thread
From: Daniel Jurgens @ 2024-05-09 16:32 UTC (permalink / raw)
  To: netdev
  Cc: mst, jasowang, xuanzhuo, virtualization, davem, edumazet, kuba,
	pabeni, jiri, Daniel Jurgens

Several drivers provide TX stop and wake counters via ethtool stats. Add
those to the netdev queue stats, and use them in virtio_net.

Daniel Jurgens (2):
  netdev: Add queue stats for TX stop and wake
  virtio_net: Add TX stopped and wake counters

 Documentation/netlink/specs/netdev.yaml | 10 +++++++++
 drivers/net/virtio_net.c                | 28 +++++++++++++++++++++++--
 include/net/netdev_queues.h             |  3 +++
 include/uapi/linux/netdev.h             |  2 ++
 net/core/netdev-genl.c                  |  4 +++-
 tools/include/uapi/linux/netdev.h       |  3 ++-
 6 files changed, 46 insertions(+), 4 deletions(-)

-- 
2.44.0


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

end of thread, other threads:[~2024-05-10 20:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09 16:32 [PATCH net-next 0/2] Add TX stop/wake counters Daniel Jurgens
2024-05-09 16:32 ` [PATCH net-next 1/2] netdev: Add queue stats for TX stop and wake Daniel Jurgens
2024-05-09 20:46   ` Andrew Lunn
2024-05-09 21:19     ` Dan Jurgens
2024-05-10 12:58       ` Andrew Lunn
2024-05-10 20:20         ` Dan Jurgens
2024-05-10 20:40           ` Andrew Lunn
2024-05-10  1:31   ` Jakub Kicinski
2024-05-10  3:37     ` Dan Jurgens
2024-05-09 16:32 ` [PATCH net-next 2/2] virtio_net: Add TX stopped and wake counters Daniel Jurgens
2024-05-10  1:21   ` Xuan Zhuo
2024-05-10  3:35     ` Dan Jurgens
2024-05-10  6:48       ` Xuan Zhuo
2024-05-10 16:56         ` Dan Jurgens

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