]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit16dc42e4511172aa3a4d49931597582c9ff78843
treeec221ab3aa6940b671ec6089a479a6008a3dd7a8
parent412283eedc138381e24d8c1304a3c5b298c503c4
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