]> 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)
commit7884236779fb023d66a4bcc07263f01ae870c0fd
treeec221ab3aa6940b671ec6089a479a6008a3dd7a8
parent805ed1512bbcf1b97b270792d1fbe416da66c52f
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