All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/6] virtio-net: support device stats
@ 2024-01-31  2:45 Xuan Zhuo
  2024-01-31  2:45 ` [PATCH net-next v2 1/6] virtio_net: introduce device stats feature and structures Xuan Zhuo
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Xuan Zhuo @ 2024-01-31  2:45 UTC (permalink / raw)
  To: netdev
  Cc: Michael S. Tsirkin, Jason Wang, Xuan Zhuo, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, virtualization,
	Zhu Yanjun, Simon Horman

As the spec:

https://github.com/oasis-tcs/virtio-spec/commit/42f389989823039724f95bbbd243291ab0064f82

The virtio net supports to get device stats.

Please review.

Thanks.

v2:
    1. fix the usage of the leXX_to_cpu()
    2. add comment to the structure virtnet_stats_map

v1:
    1. fix some definitions of the marco and the struct



Xuan Zhuo (6):
  virtio_net: introduce device stats feature and structures
  virtio_net: virtnet_send_command supports command-specific-result
  virtio_net: support device stats
  virtio_net: stats map include driver stats
  virtio_net: add the total stats field
  virtio_net: rename stat tx_timeout to timeout

 drivers/net/virtio_net.c        | 536 ++++++++++++++++++++++++++++----
 include/uapi/linux/virtio_net.h | 137 ++++++++
 2 files changed, 613 insertions(+), 60 deletions(-)

--
2.32.0.3.g01195cf9f


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

end of thread, other threads:[~2024-02-02  4:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-31  2:45 [PATCH net-next v2 0/6] virtio-net: support device stats Xuan Zhuo
2024-01-31  2:45 ` [PATCH net-next v2 1/6] virtio_net: introduce device stats feature and structures Xuan Zhuo
2024-01-31  2:45 ` [PATCH net-next v2 2/6] virtio_net: virtnet_send_command supports command-specific-result Xuan Zhuo
2024-01-31  2:45 ` [PATCH net-next v2 3/6] virtio_net: support device stats Xuan Zhuo
2024-01-31  2:45 ` [PATCH net-next v2 4/6] virtio_net: stats map include driver stats Xuan Zhuo
2024-01-31  2:45 ` [PATCH net-next v2 5/6] virtio_net: add the total stats field Xuan Zhuo
2024-01-31  2:45 ` [PATCH net-next v2 6/6] virtio_net: rename stat tx_timeout to timeout Xuan Zhuo
2024-02-02  4:57 ` [PATCH net-next v2 0/6] virtio-net: support device stats Jakub Kicinski

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.