mlxsw: Misc devlink changes
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 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mlxsw: spectrum: Remove pointless call to devlink_param_driverinit_value_set()drivers/ | +2 | 1 reply | Applied |
| 2/6 | mlxsw: spectrum_acl_tcam: Add missing mutex_destroy()drivers/ | +6 | 0 replies | Applied |
| 3/6 | mlxsw: spectrum_acl_tcam: Make fini symmetric to initdrivers/ | +1 | 0 replies | Applied |
| 4/6 | mlxsw: spectrum_acl_tcam: Reorder functions to avoid forward declarationsdrivers/ | +65 | 0 replies | Applied |
| 5/6 | mlxsw: spectrum_acl_tcam: Move devlink param to TCAM codedrivers/ drivers/ drivers/ +4 more | +90 | 0 replies | Applied |
| 6/6 | mlxsw: core: Register devlink instance before sub-objectsdrivers/ | +6 | 0 replies | Applied |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ido Schimmel | Jiri Pirko | Jacob Keller |
|---|---|---|---|
| Series | R-b | ||
| 1/6 | R-b | R-b | |
| 2/6 | R-b | ||
| 3/6 | R-b | ||
| 4/6 | R-b | ||
| 5/6 | R-b | ||
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net-next 0/6] mlxsw: Misc devlink changes
This patchset adjusts mlxsw to recent devlink changes in net-next.
Patch #1 removes a devl_param_driverinit_value_set() call that was unnecessary, but now additionally triggers a WARN_ON.
Patches #2-#4 are non-functional preparations for the following patches.
Patch #5 fixes a use-after-free that is triggered while changing network namespaces.
Patch #6 makes mlxsw consistent with netdevsim by having mlxsw register its devlink instance before its sub-objects. It helps us avoid a warning described in the commit message.
Danielle Ratson (1):
mlxsw: spectrum: Remove pointless call to
devlink_param_driverinit_value_set()
Ido Schimmel (5):
mlxsw: spectrum_acl_tcam: Add missing mutex_destroy()
mlxsw: spectrum_acl_tcam: Make fini symmetric to init
mlxsw: spectrum_acl_tcam: Reorder functions to avoid forward
declarations
mlxsw: spectrum_acl_tcam: Move devlink param to TCAM code
mlxsw: core: Register devlink instance before sub-objects
drivers/net/ethernet/mellanox/mlxsw/core.c | 31 +-- drivers/net/ethernet/mellanox/mlxsw/core.h | 2 - .../net/ethernet/mellanox/mlxsw/spectrum.c | 62 ----- .../net/ethernet/mellanox/mlxsw/spectrum.h | 3 +- .../ethernet/mellanox/mlxsw/spectrum_acl.c | 21 +- .../mellanox/mlxsw/spectrum_acl_tcam.c | 244 +++++++++++------- .../mellanox/mlxsw/spectrum_acl_tcam.h | 5 - 7 files changed, 161 insertions(+), 207 deletions(-)
Signature · 1 line
2.39.0