[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240510201927.1821109-1-danielj@nvidia.com>
Date: Fri, 10 May 2024 23:19:25 +0300
From: Daniel Jurgens <danielj@...dia.com>
To: <netdev@...r.kernel.org>
CC: <mst@...hat.com>, <jasowang@...hat.com>, <xuanzhuo@...ux.alibaba.com>,
<virtualization@...ts.linux.dev>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>,
<jiri@...dia.com>, Daniel Jurgens <danielj@...dia.com>
Subject: [PATCH net-next 0/2] Add TX stop/wake counters
Several drivers provide TX stop and wake counters via ethtool stats. Add
those to the netdev queue stats, and use them in virtio_net.
v2:
- Fixed an accidental line deletion
- Enhanced documentation
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 | 14 +++++++++++++
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 | 2 ++
6 files changed, 50 insertions(+), 3 deletions(-)
--
2.45.0
Powered by blists - more mailing lists