mlxsw: Offload FDB learning configuration
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | mlxsw: spectrum: Limit number of FDB records per learning sessiondrivers/ drivers/ | +17 | 0 replies | |
| 2/7 | mlxsw: spectrum: Make VLAN deletion function symmetricdrivers/ | +8 | 0 replies | |
| 3/7 | mlxsw: spectrum: Don't abort on first error when removing VLANsdrivers/ | +4 | 0 replies | |
| 4/7 | mlxsw: spectrum: Configure learning for VLAN-aware bridge portdrivers/ drivers/ drivers/ | +50 | 0 replies | |
| 5/7 | mlxsw: spectrum: Offload learning to the switch ASICdrivers/ | +44 | 0 replies | |
| 6/7 | mlxsw: spectrum: Remove unnecessary check in FDB processingdrivers/ | +0 | 0 replies | |
| 7/7 | mlxsw: spectrum: Don't set learning when creating vPortsdrivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch net-next 0/7] mlxsw: Offload FDB learning configuration
From: Jiri Pirko <[email protected]>
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(-)
Signature · 1 line
2.5.5