]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Use existing flood setup when adding VLANs
authorIdo Schimmel <idosch@mellanox.com>
Thu, 1 Sep 2016 08:37:45 +0000 (10:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 16:44:56 +0000 (09:44 -0700)
commit64098b0582f7c0996511c58857e4cdbba3d5b4cb
tree24127f5c8d03e91ab062a52468f6d648860d6465
parent28663b1a415eb098036b07dc427e0dede296d53e
mlxsw: spectrum: Use existing flood setup when adding VLANs

When a VLAN is added on a bridge port we should use the existing unicast
flood configuration of the port instead of assuming it's enabled.

Fixes: b22d05e9e056 ("mlxsw: spectrum: Add support for flood control")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c