selftests: mlxsw: tc_restrictions: add couple of test for the correct matchall-flower...
authorJiri Pirko <jiri@mellanox.com>
Sat, 9 May 2020 20:06:10 +0000 (23:06 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 9 May 2020 23:02:43 +0000 (16:02 -0700)
commitaa7431123fc6f36574d9cc23be24dc802bb4cfa5
treeca77ee82cb0304b50de4fdfb0a150212342db3df
parent240fe73457fbfc13cb30d1d16064f19590ff10f6
selftests: mlxsw: tc_restrictions: add couple of test for the correct matchall-flower ordering

Make sure that the drive restricts incorrect order of inserted matchall
vs. flower rules.

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