selftests: mlxsw: Add Q-in-VNI veto tests
authorAmit Cohen <amcohen@nvidia.com>
Tue, 8 Dec 2020 09:22:53 +0000 (11:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Dec 2020 23:45:57 +0000 (15:45 -0800)
commit477ce6d971159910fb8ae76755c8027aa6a84dde
treee35daceeec4306d9a44ff8de54ab1ef47b9dee85
parent4cec85296c7c7a123890d9335b835f991b36e106
selftests: mlxsw: Add Q-in-VNI veto tests

Add tests to ensure that the forbidden and unsupported cases are indeed
vetoed by mlxsw driver.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/spectrum-2/q_in_vni_veto.sh [new file with mode: 0755]
tools/testing/selftests/drivers/net/mlxsw/spectrum/q_in_vni_veto.sh [new file with mode: 0755]