All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Jurgens <danielj@nvidia.com>
To: <netdev@vger.kernel.org>
Cc: <mst@redhat.com>, <jasowang@redhat.com>,
	<xuanzhuo@linux.alibaba.com>, <virtualization@lists.linux.dev>,
	<davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
	<pabeni@redhat.com>, <jiri@nvidia.com>,
	Daniel Jurgens <danielj@nvidia.com>
Subject: [PATCH net-next 0/2] Add TX stop/wake counters
Date: Fri, 10 May 2024 23:19:25 +0300	[thread overview]
Message-ID: <20240510201927.1821109-1-danielj@nvidia.com> (raw)

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


             reply	other threads:[~2024-05-10 20:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-10 20:19 Daniel Jurgens [this message]
2024-05-10 20:19 ` [PATCH net-next v2 1/2] netdev: Add queue stats for TX stop and wake Daniel Jurgens
2024-05-11  3:31   ` Jason Xing
2024-05-10 20:19 ` [PATCH net-next v2 2/2] virtio_net: Add TX stopped and wake counters Daniel Jurgens
2024-05-11  3:38   ` Jason Xing
2024-05-13 22:50 ` [PATCH net-next 0/2] Add TX stop/wake counters patchwork-bot+netdevbpf
  -- strict thread matches above, loose matches on Subject: below --
2024-05-09 16:32 Daniel Jurgens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240510201927.1821109-1-danielj@nvidia.com \
    --to=danielj@nvidia.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=jasowang@redhat.com \
    --cc=jiri@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=virtualization@lists.linux.dev \
    --cc=xuanzhuo@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.