]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Add a test case for VLAN addition error flow
authorIdo Schimmel <idosch@mellanox.com>
Tue, 8 Jan 2019 16:48:10 +0000 (16:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jan 2019 21:53:54 +0000 (16:53 -0500)
commit7bcd8be1d9b161532c4de59e59ed5a3e0017a7ff
treeec221ab3aa6940b671ec6089a479a6008a3dd7a8
parent25e3d730e5d2003c991bd4abd2ea250dcaa2cd22
selftests: mlxsw: Add a test case for VLAN addition error flow

Add a test case for the issue fixed by previous commit. In case the
offloading of an unsupported VxLAN tunnel was triggered by adding the
mapped VLAN to a local port, then error should be returned to the user.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/vxlan.sh