OSDN Git Service

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)
commit7e1046fd1fcb9e4450ff15c896c9e927fe9a823f
treef65fddb7ccac1b9cb4de642a59935cfa2bd44107
parenta40313d956d3d3124f44b63ba752383c948c8587
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]