]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Test veto of unsupported VXLAN FDBs
authorPetr Machata <petrm@mellanox.com>
Wed, 16 Jan 2019 23:07:00 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jan 2019 23:18:47 +0000 (15:18 -0800)
commit456234609b82430c4d8f21f69409631089763d19
treef65fddb7ccac1b9cb4de642a59935cfa2bd44107
parent6c6623165e202b13e9055c83e0d6e2bba30ea621
selftests: mlxsw: Test veto of unsupported VXLAN FDBs

mlxsw doesn't implement offloading of all types of FDB entries that the
VXLAN driver supports. Test that such FDB entries are rejected. That
makes sure that the decision made by the existing validation code in
mlxsw propagates up the stack. It also exercises rollback functionality
in VXLAN, and tests that extack is returned.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/vxlan_fdb_veto.sh [new file with mode: 0755]