RFC devlink: remove the wait-for-references on unregister
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest10 patches 39 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | devlink: bump the instance index directly when iteratingnet/ net/ | +13 | 5 replies | |
| 2/10 | devlink: update the code in netns move to latest helpersnet/ | +4 | 1 reply | |
| 3/10 | devlink: protect devlink->dev by the instance locknet/ net/ net/ | +11 | 0 replies | |
| 4/10 | devlink: always check if the devlink instance is registeredinclude/ net/ net/ +1 more | +59 | 14 replies | |
| 5/10 | devlink: remove the registration guarantee of referencesinclude/ net/ net/ | +30 | 7 replies | |
| 6/10 | devlink: don't require setting features before registrationnet/ | +0 | 4 replies | |
| 7/10 | netdevsim: rename a labeldrivers/ | +2 | 1 reply | |
| 8/10 | netdevsim: move devlink registration under the instance lockdrivers/ | +8 | 0 replies | |
| 9/10 | devlink: allow registering parameters after the instancenet/ | +11 | 0 replies | |
| 10/10 | netdevsim: register devlink instance before sub-objectsdrivers/ | +9 | 4 replies |
Reviews trailers per patch
3 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Jacob Keller | Jiri Pirko |
|---|---|---|
| 1/10 | ||
| 2/10 | R-b | |
| 3/10 | ||
| 4/10 | ||
| 5/10 | R-b | |
| 6/10 | ||
| 7/10 | R-b | |
| 8/10 | ||
| 9/10 | ||
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC net-next 00/10] devlink: remove the wait-for-references on unregister
This set is on top of the previous RFC.
Move the registration and unregistration of the devlink instances under their instance locks. Don't perform the netdev-style wait for all references when unregistering the instance.
Jakub Kicinski (10):
devlink: bump the instance index directly when iterating
devlink: update the code in netns move to latest helpers
devlink: protect devlink->dev by the instance lock
devlink: always check if the devlink instance is registered
devlink: remove the registration guarantee of references
devlink: don't require setting features before registration
netdevsim: rename a label
netdevsim: move devlink registration under the instance lock
devlink: allow registering parameters after the instance
netdevsim: register devlink instance before sub-objects
drivers/net/netdevsim/dev.c | 15 +++-- include/net/devlink.h | 3 + net/devlink/basic.c | 64 ++++++++++++------ net/devlink/core.c | 127 +++++++++++++++++------------------- net/devlink/devl_internal.h | 20 ++---- net/devlink/netlink.c | 19 ++++-- 6 files changed, 136 insertions(+), 112 deletions(-)
Signature · 1 line
2.38.1