selftests: tc: add ingress device matching support
authorJiri Pirko <jiri@mellanox.com>
Wed, 19 Jun 2019 06:41:09 +0000 (09:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 14:09:22 +0000 (10:09 -0400)
commitdcc5e1f9cad0e31198c4a4254981928299b49054
tree05cfdb9509f7d2130b788c6fe1b400e81e937d98
parent0c1f391d192a1586ce627784f9c348f7a640adef
selftests: tc: add ingress device matching support

Extend tc_flower to test plain ingress device matching and also
tc_shblock to test ingress device matching on shared block.
Add new tc_flower_router.sh where ingress device matching on egress
(after routing) is done.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/tc_flower.sh
tools/testing/selftests/net/forwarding/tc_flower_router.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/tc_shblocks.sh