selftests: skbedit_priority: Test counters at the skbedit rule
authorPetr Machata <petrm@mellanox.com>
Thu, 26 Mar 2020 20:45:57 +0000 (22:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2020 02:20:37 +0000 (19:20 -0700)
commit2a0b1307cb4687bb930baed044900f91c6a2b8c1
treee434388502d6ea2d29238519e9a0b1c94ad297ba
parentd4d9d9c53bef8124e93cb232ed137d91daaf6965
selftests: skbedit_priority: Test counters at the skbedit rule

Currently the test checks the observable effect of skbedit priority:
queueing of packets at the correct qdisc band. It therefore misses the fact
that the counters for offloaded rules are not updated. Add an extra check
for the counter.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/skbedit_priority.sh