devlink: prepare mlxsw and netdevsim for locked reload
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 9 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | net: devlink: avoid false DEADLOCK warning reported by lockdepnet/ | +4 | 0 replies | Applied |
| 2/9 | net: devlink: add unlocked variants of devling_trap*() functionsinclude/ net/ | +168 | 0 replies | Applied |
| 3/9 | net: devlink: add unlocked variants of devlink_resource*() functionsinclude/ net/ | +173 | 0 replies | Applied |
| 4/9 | net: devlink: add unlocked variants of devlink_sb*() functionsinclude/ net/ | +41 | 0 replies | Applied |
| 5/9 | net: devlink: add unlocked variants of devlink_dpipe*() functionsinclude/ net/ | +147 | 0 replies | Applied |
| 6/9 | mlxsw: convert driver to use unlocked devlink API during init/finidrivers/ drivers/ drivers/ +7 more | +248 | 1 reply | Applied |
| 7/9 | net: devlink: add unlocked variants of devlink_region_create/destroy() functionsinclude/ net/ | +66 | 0 replies | Applied |
| 8/9 | netdevsim: convert driver to use unlocked devlink API during init/finidrivers/ drivers/ drivers/ +3 more | +102 | 0 replies | Applied |
| 9/9 | net: devlink: remove unused locked functionsinclude/ net/ | +0 | 0 replies | Applied |
Reviews trailers per patch
2 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Moshe Shemesh | Ido Schimmel |
|---|---|---|
| 1/9 | ||
| 2/9 | ||
| 3/9 | ||
| 4/9 | ||
| 5/9 | ||
| 6/9 | R-b T-b | |
| 7/9 | R-b | |
| 8/9 | ||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch net-next 0/9] devlink: prepare mlxsw and netdevsim for locked reload
From: Jiri Pirko <[email protected]>
This is preparation patchset to be able to eventually make a switch and make reload cmd to take devlink->lock as the other commands do.
This patchset is preparing 2 major users of devlink API - mlxsw and netdevsim. The sets of functions are similar, therefore taking care of both here.
Jiri Pirko (8):
net: devlink: add unlocked variants of devling_trap*() functions
net: devlink: add unlocked variants of devlink_resource*() functions
net: devlink: add unlocked variants of devlink_sb*() functions
net: devlink: add unlocked variants of devlink_dpipe*() functions
mlxsw: convert driver to use unlocked devlink API during init/fini
net: devlink: add unlocked variants of devlink_region_create/destroy()
functions
netdevsim: convert driver to use unlocked devlink API during init/fini
net: devlink: remove unused locked functions
Moshe Shemesh (1):
net: devlink: avoid false DEADLOCK warning reported by lockdep
drivers/net/ethernet/mellanox/mlxsw/core.c | 53 +- .../net/ethernet/mellanox/mlxsw/spectrum.c | 103 ++- .../ethernet/mellanox/mlxsw/spectrum1_kvdl.c | 82 +-- .../mellanox/mlxsw/spectrum_buffers.c | 14 +- .../ethernet/mellanox/mlxsw/spectrum_cnt.c | 62 +- .../ethernet/mellanox/mlxsw/spectrum_dpipe.c | 88 +-- .../mellanox/mlxsw/spectrum_policer.c | 32 +- .../ethernet/mellanox/mlxsw/spectrum_router.c | 22 +- .../ethernet/mellanox/mlxsw/spectrum_span.c | 6 +- .../ethernet/mellanox/mlxsw/spectrum_trap.c | 27 +- drivers/net/netdevsim/bus.c | 19 - drivers/net/netdevsim/dev.c | 134 ++-- drivers/net/netdevsim/fib.c | 62 +- drivers/net/netdevsim/netdevsim.h | 3 - include/net/devlink.h | 76 ++- net/core/devlink.c | 637 ++++++++++++------ 16 files changed, 816 insertions(+), 604 deletions(-)
Signature · 1 line
2.35.3