[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240708201818.53eb0f61@kernel.org>
Date: Mon, 8 Jul 2024 20:18:18 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: FUJITA Tomonori <fujita.tomonori@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, jdamato@...tly.com
Subject: Re: [PATCH net-next] net: tn40xx: add per queue netdev-genl stats
support
On Sat, 6 Jul 2024 15:43:24 +0900 FUJITA Tomonori wrote:
> Add support for the netdev-genl per queue stats API.
>
> ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/netdev.yaml \
> --dump qstats-get --json '{"scope":"queue"}'
> [{'ifindex': 4,
> 'queue-id': 0,
> 'queue-type': 'rx',
> 'rx-alloc-fail': 0,
> 'rx-bytes': 266613,
> 'rx-packets': 3325},
> {'ifindex': 4,
> 'queue-id': 0,
> 'queue-type': 'tx',
> 'tx-bytes': 142823367,
> 'tx-packets': 2387}]
>
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@...il.com>
Reviewed-by: Jakub Kicinski <kuba@...nel.org>
Powered by blists - more mailing lists