mlxsw: Unified bridge conversion - part 2/6
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 13 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | mlxsw: Remove lag_vid_valid indicationdrivers/ drivers/ drivers/ | +1 | 0 replies | Applied |
| 2/13 | mlxsw: spectrum_switchdev: Pass 'struct mlxsw_sp' to mlxsw_sp_bridge_mdb_mc_enable_sync()drivers/ | +4 | 0 replies | Applied |
| 3/13 | mlxsw: spectrum_switchdev: Do not set 'multicast_enabled' twicedrivers/ | +0 | 0 replies | Applied |
| 4/13 | mlxsw: spectrum_switchdev: Simplify mlxsw_sp_port_mc_disabled_set()drivers/ | +66 | 0 replies | Applied |
| 5/13 | mlxsw: spectrum_switchdev: Add error path in mlxsw_sp_port_mc_disabled_set()drivers/ | +15 | 0 replies | Applied |
| 6/13 | mlxsw: spectrum_switchdev: Convert mlxsw_sp_mc_write_mdb_entry() to return intdrivers/ | +9 | 0 replies | Applied |
| 7/13 | mlxsw: spectrum_switchdev: Handle error in mlxsw_sp_bridge_mdb_mc_enable_sync()drivers/ | +31 | 0 replies | Applied |
| 8/13 | mlxsw: Add enumerator for 'config_profile.flood_mode'drivers/ drivers/ | +17 | 0 replies | Applied |
| 9/13 | mlxsw: cmd: Increase 'config_profile.flood_mode' lengthdrivers/ | +1 | 0 replies | Applied |
| 10/13 | mlxsw: pci: Query resources before and after issuing 'CONFIG_PROFILE' commanddrivers/ | +9 | 0 replies | Applied |
| 11/13 | mlxsw: spectrum_fid: Save 'fid_offset' as part of FID structuredrivers/ | +23 | 0 replies | Applied |
| 12/13 | mlxsw: spectrum_fid: Use 'fid->fid_offset' when setting VNIdrivers/ | +14 | 0 replies | Applied |
| 13/13 | mlxsw: spectrum_fid: Implement missing operations for rFID and dummy FIDdrivers/ | +54 | 0 replies | Applied |
Reviews trailers per patch
1 of 13 patches has a Reviewed-by or Acked-by.
| Patch | Petr Machata |
|---|---|
| 1/13 | R-b |
| 2/13 | |
| 3/13 | |
| 4/13 | |
| 5/13 | |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 00/13] mlxsw: Unified bridge conversion - part 2/6
This is the second part of the conversion of mlxsw to the unified bridge model. Part 1 was merged in commit 4336487e30c3 ("Merge branch 'mlxsw-unified-bridge-conversion-part-1'") which includes details about the new model and the motivation behind the conversion.
This patchset does not begin the conversion, but rather prepares the code base for it.
Patchset overview:
Patch #1 removes an unnecessary field from one of the FID families.
Patches #2-#7 make various improvements in the layer 2 multicast code, making it more receptive towards upcoming changes.
Patches #8-#10 prepare the CONFIG_PROFILE command for the unified bridge model. This command will be used to enable the new model in the last patchset.
Patches #11-#13 perform small changes in the FID code, preparing it for upcoming changes.
Amit Cohen (13):
mlxsw: Remove lag_vid_valid indication
mlxsw: spectrum_switchdev: Pass 'struct mlxsw_sp' to
mlxsw_sp_bridge_mdb_mc_enable_sync()
mlxsw: spectrum_switchdev: Do not set 'multicast_enabled' twice
mlxsw: spectrum_switchdev: Simplify mlxsw_sp_port_mc_disabled_set()
mlxsw: spectrum_switchdev: Add error path in
mlxsw_sp_port_mc_disabled_set()
mlxsw: spectrum_switchdev: Convert mlxsw_sp_mc_write_mdb_entry() to
return int
mlxsw: spectrum_switchdev: Handle error in
mlxsw_sp_bridge_mdb_mc_enable_sync()
mlxsw: Add enumerator for 'config_profile.flood_mode'
mlxsw: cmd: Increase 'config_profile.flood_mode' length
mlxsw: pci: Query resources before and after issuing 'CONFIG_PROFILE'
command
mlxsw: spectrum_fid: Save 'fid_offset' as part of FID structure
mlxsw: spectrum_fid: Use 'fid->fid_offset' when setting VNI
mlxsw: spectrum_fid: Implement missing operations for rFID and dummy
FID
drivers/net/ethernet/mellanox/mlxsw/cmd.h | 25 ++- drivers/net/ethernet/mellanox/mlxsw/pci.c | 9 + .../net/ethernet/mellanox/mlxsw/spectrum.c | 4 +- .../net/ethernet/mellanox/mlxsw/spectrum.h | 1 - .../ethernet/mellanox/mlxsw/spectrum_fid.c | 120 ++++++++++---- .../mellanox/mlxsw/spectrum_switchdev.c | 155 ++++++++++++++---- 6 files changed, 240 insertions(+), 74 deletions(-)
Signature · 1 line
2.36.1