[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240509163216.108665-1-danielj@nvidia.com>
Date: Thu, 9 May 2024 11:32:14 -0500
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.
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
Powered by blists - more mailing lists