mlxsw: Unified bridge conversion - part 5/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 10 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | mlxsw: Align PGT index to legacy bridge modeldrivers/ drivers/ | +14 | 0 replies | Applied |
| 2/10 | mlxsw: spectrum_switchdev: Rename MID structuredrivers/ drivers/ | +97 | 0 replies | Applied |
| 3/10 | mlxsw: spectrum_switchdev: Rename MIDs listdrivers/ | +11 | 0 replies | Applied |
| 4/10 | mlxsw: spectrum_switchdev: Save MAC and FID as a key in 'struct mlxsw_sp_mdb_entry'drivers/ | +14 | 0 replies | Applied |
| 5/10 | mlxsw: spectrum_switchdev: Add support for maintaining hash table of MDB entriesdrivers/ | +15 | 0 replies | Applied |
| 6/10 | mlxsw: spectrum_switchdev: Add support for maintaining list of ports per MDB entrydrivers/ | +153 | 0 replies | Applied |
| 7/10 | mlxsw: spectrum_switchdev: Implement mlxsw_sp_mc_mdb_entry_{init, fini}()drivers/ | +174 | 0 replies | Applied |
| 8/10 | mlxsw: spectrum_switchdev: Add support for getting and putting MDB entrydrivers/ | +78 | 0 replies | Applied |
| 9/10 | mlxsw: spectrum_switchdev: Flush port from MDB entries according to FID indexdrivers/ | +11 | 0 replies | Applied |
| 10/10 | mlxsw: spectrum_switchdev: Convert MDB code to use PGT APIsdrivers/ | +48 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 00/10] mlxsw: Unified bridge conversion - part 5/6
This is the fifth part of the conversion of mlxsw to the unified bridge model.
The previous part that was merged in commit d521bc0a0f7c ("Merge branch 'mlxsw-unified-bridge-conversion-part-4-6'") converted the flooding code to use the new APIs of the unified bridge model. As part of this conversion, the flooding code started accessing the port group table (PGT) directly in order to allocate MID indexes and configure the ports via which a packet needs to be replicated.
MDB entries in the device also make use of the PGT table, but the related code has its own PGT allocator and does not make use of the common core that was added in the previous patchset. This patchset converts the MDB code to use the common PGT code.
The first nine patches prepare the MDB code for the conversion that is performed by the last patch.
Amit Cohen (10):
mlxsw: Align PGT index to legacy bridge model
mlxsw: spectrum_switchdev: Rename MID structure
mlxsw: spectrum_switchdev: Rename MIDs list
mlxsw: spectrum_switchdev: Save MAC and FID as a key in 'struct
mlxsw_sp_mdb_entry'
mlxsw: spectrum_switchdev: Add support for maintaining hash table of
MDB entries
mlxsw: spectrum_switchdev: Add support for maintaining list of ports
per MDB entry
mlxsw: spectrum_switchdev: Implement mlxsw_sp_mc_mdb_entry_{init,
fini}()
mlxsw: spectrum_switchdev: Add support for getting and putting MDB
entry
mlxsw: spectrum_switchdev: Flush port from MDB entries according to
FID index
mlxsw: spectrum_switchdev: Convert MDB code to use PGT APIs
.../net/ethernet/mellanox/mlxsw/spectrum.h | 10 +- .../ethernet/mellanox/mlxsw/spectrum_pgt.c | 16 +- .../mellanox/mlxsw/spectrum_switchdev.c | 697 +++++++++++------- 3 files changed, 455 insertions(+), 268 deletions(-)
Signature · 1 line
2.36.1