mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
testing: net-drv: add a driver test for stats reporting
Add a very simple test to make sure drivers report expected stats. Drivers which implement FEC or pause configuration should report relevant stats. Qstats must be reported, at least packet and byte counts, and they must match total device stats. Tested with netdevsim, bnxt, in-tree and installed. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b4db9f8402
commit
f0e6c86e4b
1 changed files with 86 additions and 0 deletions
86
tools/testing/selftests/drivers/net/stats.py
Executable file
86
tools/testing/selftests/drivers/net/stats.py
Executable file
Loading…
Add table
Add a link
Reference in a new issue