RE: RE: [PATCH net-next 2/2] virtio_net: Add TX stopped and wake counters

2024-05-10 Thread Dan Jurgens
c: m...@redhat.com; jasow...@redhat.com; > xuanz...@linux.alibaba.com; > > > virtualizat...@lists.linux.dev; da...@davemloft.net; > > > eduma...@google.com; k...@kernel.org; pab...@redhat.com; Jiri > Pirko > > > ; Dan Jurgens ; > > > netdev@vger.kernel.org > > > S

Re: RE: [PATCH net-next 2/2] virtio_net: Add TX stopped and wake counters

2024-05-09 Thread Xuan Zhuo
et; > > eduma...@google.com; k...@kernel.org; pab...@redhat.com; Jiri Pirko > > ; Dan Jurgens ; > > netdev@vger.kernel.org > > Subject: Re: [PATCH net-next 2/2] virtio_net: Add TX stopped and wake > > counters > > > > On Thu, 9 May 2024 11:32:16 -0500, Daniel J

RE: [PATCH net-next 2/2] virtio_net: Add TX stopped and wake counters

2024-05-09 Thread Dan Jurgens
ko > ; Dan Jurgens ; > netdev@vger.kernel.org > Subject: Re: [PATCH net-next 2/2] virtio_net: Add TX stopped and wake > counters > > On Thu, 9 May 2024 11:32:16 -0500, Daniel Jurgens > wrote: > > Add a tx queue stop and wake counters, they are useful for debugging. > >

Re: [PATCH net-next 2/2] virtio_net: Add TX stopped and wake counters

2024-05-09 Thread Xuan Zhuo
On Thu, 9 May 2024 11:32:16 -0500, Daniel Jurgens wrote: > Add a tx queue stop and wake counters, they are useful for debugging. > > $ ./tools/net/ynl/cli.py --spec netlink/specs/netdev.yaml \ > --dump qstats-get --json '{"scope": "queue"}' > ... > {'ifindex': 13, > 'queue-id': 0, > 'queue-ty

[PATCH net-next 2/2] virtio_net: Add TX stopped and wake counters

2024-05-09 Thread Daniel Jurgens
Add a tx queue stop and wake counters, they are useful for debugging. $ ./tools/net/ynl/cli.py --spec netlink/specs/netdev.yaml \ --dump qstats-get --json '{"scope": "queue"}' ... {'ifindex': 13, 'queue-id': 0, 'queue-type': 'tx', 'tx-bytes': 14756682850, 'tx-packets': 226465, 'tx-stop'