aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/nsim.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2024-04-05 02:45:24 +0000
committerDavid S. Miller <[email protected]>2024-04-08 10:40:41 +0000
commitf216306bfb602b449cb2c49cf03870fb8761d146 (patch)
tree2ceb70585c0d510b2afe19e94ba9b8923fed6436 /tools/testing/selftests/net/lib/py/nsim.py
parentselftests: nl_netdev: add a trivial Netlink netdev test (diff)
downloadkernel-f216306bfb602b449cb2c49cf03870fb8761d146.tar.gz
kernel-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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/nsim.py')
0 files changed, 0 insertions, 0 deletions