diff options
author | Stanislav Fomichev <[email protected]> | 2024-08-09 22:43:22 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-12 15:44:23 -0700 |
commit | 8be1bd91db71fb52be17890586f34cf9403ace89 (patch) | |
tree | c45afa87fd716f5269a6e6f2e61bc970b5d420da /tools/perf/scripts/python/gecko.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 <[email protected]>
Signed-off-by: Stanislav Fomichev <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions