diff options
author | Petr Machata <[email protected]> | 2020-03-05 09:16:44 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-05 14:03:32 -0800 |
commit | b9b72999eb86e650489a4321c8e95a4e2e3df20c (patch) | |
tree | c0f9107bbf2661d7a317bce4e6a6c9d53aa11664 /lib/test_overflow.c | |
parent | 7bec1a45d5708a19154b94758802d7c599b99119 (diff) |
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 <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions