selftests: forwarding: Add an skbedit priority selftest
authorPetr Machata <petrm@mellanox.com>
Thu, 19 Mar 2020 13:47:24 +0000 (15:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2020 04:09:20 +0000 (21:09 -0700)
commit26d9f0cde24ca94ba8ee81be1070d6e1f83fcf8e
tree734f77c807a40db4b0902c07f77c2d04bd16d39c
parent463957e3fbab36eb256a46c9a99e7d4c28311420
selftests: forwarding: Add an skbedit priority selftest

Add a test that runs traffic through a port such that skbedit priority
action acts on it during forwarding. Test that at egress, it is classified
correctly according to the new priority at a PRIO qdisc.

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>
tools/testing/selftests/net/forwarding/skbedit_priority.sh [new file with mode: 0755]