aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-01-08 16:48:08 +0000
committerDavid S. Miller <davem@davemloft.net>2019-01-08 16:53:54 -0500
commit412283eedc138381e24d8c1304a3c5b298c503c4 (patch)
tree28b0e214c3bc19e9d3a0c36feed9205c52c78204 /tools/testing/selftests/drivers/net
parentmlxsw: spectrum_switchdev: Avoid returning errors in commit phase (diff)
downloadlinux-dev-412283eedc138381e24d8c1304a3c5b298c503c4.tar.xz
linux-dev-412283eedc138381e24d8c1304a3c5b298c503c4.zip
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: d70e42b22dd4 ("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>
Diffstat (limited to 'tools/testing/selftests/drivers/net')
0 files changed, 0 insertions, 0 deletions