summaryrefslogtreecommitdiff
path: root/lib/test_debug_virtual.c
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2020-03-05 10:16:44 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-06 01:03:32 +0300
commitb9b72999eb86e650489a4321c8e95a4e2e3df20c (patch)
treec0f9107bbf2661d7a317bce4e6a6c9d53aa11664 /lib/test_debug_virtual.c
parent7bec1a45d5708a19154b94758802d7c599b99119 (diff)
downloadlinux-b9b72999eb86e650489a4321c8e95a4e2e3df20c.tar.xz
selftests: forwarding: ETS: Use Qdisc counters
Currently the SW-datapath ETS selftests use "ip link" stats to obtain the number of packets that went through a given band. mlxsw then uses ethtool per-priority counters. Instead, change both to use qdiscs. In SW datapath this is the obvious choice, and now that mlxsw offloads FIFO, this should work on the offloaded datapath as well. This has the effect of verifying that the FIFO offload works. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_debug_virtual.c')
0 files changed, 0 insertions, 0 deletions