Files
linux/drivers/net/ethernet/tehuti
FUJITA Tomonori 6c2a4c2f70 net: tn40xx: add per queue netdev-genl stats support
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@gmail.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20240706064324.137574-1-fujita.tomonori@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-07-09 13:26:57 +02:00
..
2024-06-25 18:44:19 -07:00
2024-06-25 18:44:19 -07:00
2024-06-25 18:44:19 -07:00
2024-06-25 18:44:19 -07:00
2024-06-25 18:44:19 -07:00