selftests: mlxsw: vxlan: Add test for error path
authorIdo Schimmel <idosch@mellanox.com>
Mon, 17 Feb 2020 14:29:40 +0000 (16:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 22:42:53 +0000 (14:42 -0800)
commit495c3da648a1f1dd977db97e531dcb6b2a51e9a2
tree275d6c68185162a931f1f5759e92e3d5dbd25fb4
parent58ba0238e98a3a2ed9d24697ee0b54b86245bc6b
selftests: mlxsw: vxlan: Add test for error path

Test that when two VXLAN tunnels with conflicting configurations (i.e.,
different TTL) are enslaved to the same VLAN-aware bridge, then the
enslavement of a port to the bridge is denied.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/vxlan.sh