Files
linux/drivers
Ido Schimmel 412283eedc mlxsw: spectrum_nve: Replace error code with EINVAL
Adding a VLAN on a port can trigger the offload of a VXLAN tunnel which
is already a member in the VLAN. In case the configuration of the VXLAN
is not supported, the driver would return -EOPNOTSUPP.

This is problematic since bridge code does not interpret this as error,
but rather that it should try to setup the VLAN using the 8021q driver
instead of switchdev.

Fixes: d70e42b22d ("mlxsw: spectrum: Enable VxLAN enslavement to VLAN-aware bridges")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-08 16:53:54 -05:00
..
2018-12-19 09:40:13 +01:00
2018-12-29 08:20:44 -07:00
2018-12-03 17:40:18 +01:00
2018-12-10 10:17:45 +01:00
2018-12-13 16:40:03 +00:00
2018-12-06 15:45:46 +01:00
2018-12-24 12:06:56 +01:00