RFC net: devlink: prepare mlxsw and netdevsim for locked reload
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest9 patches 0 repliesNew
- v1 RFC10 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | net: devlink: avoid false DEADLOCK warning reported by lockdepnet/ | +4 | 0 replies | |
| 2/9 | net: devlink: add unlocked variants of devling_trap*() functionsinclude/ net/ | +168 | 0 replies | |
| 3/9 | net: devlink: add unlocked variants of devlink_resource*() functionsinclude/ net/ | +173 | 0 replies | |
| 4/9 | net: devlink: add unlocked variants of devlink_sb*() functionsinclude/ net/ | +41 | 0 replies | |
| 5/9 | net: devlink: add unlocked variants of devlink_dpipe*() functionsinclude/ net/ | +147 | 0 replies | |
| 6/9 | mlxsw: convert driver to use unlocked devlink API during init/finidrivers/ drivers/ drivers/ +7 more | +248 | 0 replies | |
| 7/9 | net: devlink: add unlocked variants of devlink_region_create/destroy() functionsinclude/ net/ | +66 | 0 replies | |
| 8/9 | netdevsim: convert driver to use unlocked devlink API during init/finidrivers/ drivers/ drivers/ +3 more | +102 | 0 replies | |
| 9/9 | net: devlink: remove unused locked functionsinclude/ net/ | +0 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Moshe Shemesh |
|---|---|
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 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 RFCv2 0/9] net: 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.
I would like to ask you to take this RFC for a test spin, will send v1 after you give me a go.
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