From: Jiri Pirko <j...@mellanox.com> Ido says: This patchset addresses two long standing issues in the mlxsw driver concerning FDB learning.
Patch 1 limits the number of FDB records processed by the driver in a single session. This is useful in situations in which many new records need to be processed, thereby causing the RTNL mutex to be held for long periods of time. Patches 2-6 offload the learning configuration (on / off) of bridge ports to the device instead of having the driver decide whether a record needs to be learned or not. The last patch is fallout and removes configuration no longer necessary after the first patches are applied. Ido Schimmel (7): mlxsw: spectrum: Limit number of FDB records per learning session mlxsw: spectrum: Make VLAN deletion function symmetric mlxsw: spectrum: Don't abort on first error when removing VLANs mlxsw: spectrum: Configure learning for VLAN-aware bridge port mlxsw: spectrum: Offload learning to the switch ASIC mlxsw: spectrum: Remove unnecessary check in FDB processing mlxsw: spectrum: Don't set learning when creating vPorts drivers/net/ethernet/mellanox/mlxsw/reg.h | 7 ++ drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 24 ++-- drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 3 + .../ethernet/mellanox/mlxsw/spectrum_switchdev.c | 128 +++++++++++++++------ 4 files changed, 115 insertions(+), 47 deletions(-) -- 2.5.5