OSDN Git Service

mlxsw: spectrum_nve: Allow VxLAN learning
authorIdo Schimmel <idosch@mellanox.com>
Wed, 21 Nov 2018 08:02:50 +0000 (08:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Nov 2018 01:10:31 +0000 (17:10 -0800)
commit20134ee9c52677f9dff654a7954a278e691f47cb
treed359f9e512ba787808fc52c2b7460487226ff286
parent8b547a60262121b2b471a8f2fa0e33a50c6c1ecd
mlxsw: spectrum_nve: Allow VxLAN learning

Up until now the driver returned an error when learning was enabled on a
VxLAN device enslaved to an offloaded bridge.

Previous patches added VxLAN learning support, so remove the check.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c