selftests: mlxsw: tc_restrictions: add test to check sample action restrictions
authorJiri Pirko <jiri@mellanox.com>
Sat, 9 May 2020 20:06:09 +0000 (23:06 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 May 2020 23:02:43 +0000 (16:02 -0700)
commit240fe73457fbfc13cb30d1d16064f19590ff10f6
treee51ada21a88c4b362cf38a0af5adec23f896e258
parentb886dea37b78debeea7019c649c05c7e2ba027fc
selftests: mlxsw: tc_restrictions: add test to check sample action restrictions

Check that matchall rules with sample actions are not possible to be
inserted to egress.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/mlxsw/tc_restrictions.sh