diff options
author | Stanislav Fomichev <sdf@fomichev.me> | 2024-08-09 22:43:22 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-12 15:44:23 -0700 |
commit | 8be1bd91db71fb52be17890586f34cf9403ace89 (patch) | |
tree | c45afa87fd716f5269a6e6f2e61bc970b5d420da /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 45d84008ccbe2592206c110bd526c7dc140f7bd8 (diff) |
eth: fbnic: add support for basic qstats
Implement netdev_stat_ops and export the basic per-queue stats.
This interface expect users to set the values that are used
either to zero or to some other preserved value (they are 0xff by
default). So here we export bytes/packets/drops from tx and rx_stats
plus set some of the values that are exposed by queue stats
to zero.
$ cd tools/testing/selftests/drivers/net && ./stats.py
[...]
Totals: pass:4 fail:0 xfail:0 xpass:0 skip:0 error:0
Reviewed-by: Joe Damato <jdamato@fastly.com>
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20240810054322.2766421-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions