mlxsw: Preparations for restructuring
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | mlxsw: spectrum_buffer: Reduce scope of shared buffer structdrivers/ drivers/ | +68 | 0 replies | |
| 2/12 | mlxsw: spectrum_router: Reduce scope of router structdrivers/ drivers/ | +130 | 0 replies | |
| 3/12 | mlxsw: spectrum_switchdev: Reduce scope of bridge structdrivers/ drivers/ drivers/ +1 more | +69 | 0 replies | |
| 4/12 | mlxsw: spectrum_router: Move RIFs array to its rightful placedrivers/ drivers/ drivers/ +1 more | +35 | 0 replies | |
| 5/12 | mlxsw: spectrum_router: Move FIB notification block to router structdrivers/ drivers/ | +10 | 0 replies | |
| 6/12 | mlxsw: spectrum_router: Initialize RIFs in a separate functiondrivers/ | +30 | 0 replies | |
| 7/12 | mlxsw: spectrum_switchdev: Remove redundant checkdrivers/ | +0 | 0 replies | |
| 8/12 | mlxsw: spectrum_switchdev: Don't batch VLAN operationsdrivers/ drivers/ drivers/ | +121 | 0 replies | |
| 9/12 | mlxsw: spectrum_switchdev: Don't batch STP operationsdrivers/ | +17 | 0 replies | |
| 10/12 | mlxsw: spectrum_switchdev: Don't batch learning operationsdrivers/ drivers/ drivers/ | +7 | 0 replies | |
| 11/12 | mlxsw: spectrum: Move PVID code to appropriate placedrivers/ drivers/ drivers/ | +46 | 0 replies | |
| 12/12 | mlxsw: spectrum: Default ports to non-virtual modedrivers/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch net-next 00/12] mlxsw: Preparations for restructuring
From: Jiri Pirko <[email protected]>
This patchset doesn't introduce any functional changes and merely meant to make the code base more receptive for upcoming restructuring.
The first six patches mainly shuffle code in order to reduce the scope of structs that shouldn't be defined in the main driver header. Most of them will be later expanded, so it makes sense to correctly place them now.
The last patches mostly simplify bridge-related functions, so that they could be more easily modified later on.
Ido Schimmel (12):
mlxsw: spectrum_buffer: Reduce scope of shared buffer struct
mlxsw: spectrum_router: Reduce scope of router struct
mlxsw: spectrum_switchdev: Reduce scope of bridge struct
mlxsw: spectrum_router: Move RIFs array to its rightful place
mlxsw: spectrum_router: Move FIB notification block to router struct
mlxsw: spectrum_router: Initialize RIFs in a separate function
mlxsw: spectrum_switchdev: Remove redundant check
mlxsw: spectrum_switchdev: Don't batch VLAN operations
mlxsw: spectrum_switchdev: Don't batch STP operations
mlxsw: spectrum_switchdev: Don't batch learning operations
mlxsw: spectrum: Move PVID code to appropriate place
mlxsw: spectrum: Default ports to non-virtual mode
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 118 +++++- drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 131 +------ .../net/ethernet/mellanox/mlxsw/spectrum_buffers.c | 73 +++- .../net/ethernet/mellanox/mlxsw/spectrum_dpipe.c | 17 +- .../net/ethernet/mellanox/mlxsw/spectrum_router.c | 289 +++++++++----- .../net/ethernet/mellanox/mlxsw/spectrum_router.h | 2 + .../ethernet/mellanox/mlxsw/spectrum_switchdev.c | 415 ++++++++------------- 7 files changed, 529 insertions(+), 516 deletions(-)
Signature · 1 line
2.9.3