diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-04-05 04:45:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-08 12:40:41 +0200 |
commit | f216306bfb602b449cb2c49cf03870fb8761d146 (patch) | |
tree | 2ceb70585c0d510b2afe19e94ba9b8923fed6436 /tools/testing/selftests/net/lib | |
parent | selftests: nl_netdev: add a trivial Netlink netdev test (diff) | |
download | linux-f216306bfb602b449cb2c49cf03870fb8761d146.tar.xz linux-f216306bfb602b449cb2c49cf03870fb8761d146.zip |
netdevsim: report stats by default, like a real device
Real devices should implement qstats. Devices which support
pause or FEC configuration should also report the relevant stats.
nsim was missing FEC stats completely, some of the qstats
and pause stats required toggling a debugfs knob.
Note that the tests which used pause always initialize the setting
so they shouldn't be affected by the different starting value.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/lib')
0 files changed, 0 insertions, 0 deletions