selftests: mlxsw: Test matchall failure with protocol match
authorIdo Schimmel <idosch@nvidia.com>
Mon, 29 Mar 2021 10:09:46 +0000 (13:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 20:37:25 +0000 (13:37 -0700)
commitc3572a0b731fc0de13afef300f1f5afb929e4d4c
tree744618f6af52dc4a98eb5435af4d6eb75e99adb4
parentb24303048a6b23d27c4c12b9843265c0eef80ffd
selftests: mlxsw: Test matchall failure with protocol match

The driver can only offload matchall rules that do not match on a
protocol. Test that matchall rules that match on a protocol are vetoed.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/tc_restrictions.sh