Skip to content

mlxsw: Unified bridge conversion - part 2/6

Ido Schimmel netdev 1 version Applied

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

  1. v1 Latest13 patches 0 repliesApplied 13/13

Patches in v1 All 13 applied

#Subject and filesSizeRepliesApplied
1/13mlxsw: Remove lag_vid_valid indicationdrivers/net/ethernet/mellanox/mlxsw/spectrum.h drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c+1 -110 repliesApplied
2/13mlxsw: spectrum_switchdev: Pass 'struct mlxsw_sp' to mlxsw_sp_bridge_mdb_mc_enable_sync()drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c+4 -70 repliesApplied
3/13mlxsw: spectrum_switchdev: Do not set 'multicast_enabled' twicedrivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c+0 -20 repliesApplied
4/13mlxsw: spectrum_switchdev: Simplify mlxsw_sp_port_mc_disabled_set()drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c+66 -70 repliesApplied
5/13mlxsw: spectrum_switchdev: Add error path in mlxsw_sp_port_mc_disabled_set()drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c+15 -20 repliesApplied
6/13mlxsw: spectrum_switchdev: Convert mlxsw_sp_mc_write_mdb_entry() to return intdrivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c+9 -70 repliesApplied
7/13mlxsw: spectrum_switchdev: Handle error in mlxsw_sp_bridge_mdb_mc_enable_sync()drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c+31 -120 repliesApplied
8/13mlxsw: Add enumerator for 'config_profile.flood_mode'drivers/net/ethernet/mellanox/mlxsw/cmd.h drivers/net/ethernet/mellanox/mlxsw/spectrum.c+17 -80 repliesApplied
9/13mlxsw: cmd: Increase 'config_profile.flood_mode' lengthdrivers/net/ethernet/mellanox/mlxsw/cmd.h+1 -10 repliesApplied
10/13mlxsw: pci: Query resources before and after issuing 'CONFIG_PROFILE' commanddrivers/net/ethernet/mellanox/mlxsw/pci.c+9 -00 repliesApplied
11/13mlxsw: spectrum_fid: Save 'fid_offset' as part of FID structuredrivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c+23 -60 repliesApplied
12/13mlxsw: spectrum_fid: Use 'fid->fid_offset' when setting VNIdrivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c+14 -110 repliesApplied
13/13mlxsw: spectrum_fid: Implement missing operations for rFID and dummy FIDdrivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c+54 -40 repliesApplied

Reviews trailers per patch

1 of 13 patches has a Reviewed-by or Acked-by.

PatchPetr Machata
1/13R-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.

Read the v1 thread

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