diff options
author | Petr Machata <petrm@mellanox.com> | 2020-03-05 10:16:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-06 01:03:32 +0300 |
commit | b9b72999eb86e650489a4321c8e95a4e2e3df20c (patch) | |
tree | c0f9107bbf2661d7a317bce4e6a6c9d53aa11664 /lib/test_memcat_p.c | |
parent | 7bec1a45d5708a19154b94758802d7c599b99119 (diff) | |
download | linux-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_memcat_p.c')
0 files changed, 0 insertions, 0 deletions