devlink: small port_new/del() cleanup
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | devlink: remove duplicate port notificationdrivers/ drivers/ include/ +1 more | +6 | 1 reply | Applied |
| 2/3 | devlink: remove no longer true locking comment from port_new/del()include/ | +0 | 1 reply | Applied |
| 3/3 | devlink: pass devlink_port pointer to ops->port_del() instead of indexdrivers/ drivers/ include/ +1 more | +10 | 1 reply | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Simon Horman | Jakub Kicinski |
|---|---|---|
| Series | R-b | |
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch net-next 0/3] devlink: small port_new/del() cleanup
From: Jiri Pirko <[email protected]>
This patchset cleans up couple of leftovers after recent devlink locking changes. Previously, both port_new/dev() commands were called without holding instance lock. Currently all devlink commands are called with instance lock held.
The first patch just removes redundant port notification. The second one removes couple of outdated comments.
The last patch changes port_dev() to have devlink_port pointer as an arg instead of port_index, which makes it similar to the rest of port related ops.
Jiri Pirko (3):
devlink: remove duplicate port notification
devlink: remove no longer true locking comment from port_new/del()
devlink: pass devlink_port pointer to ops->port_del() instead of index
.../ethernet/mellanox/mlx5/core/sf/devlink.c | 14 ++--- .../net/ethernet/mellanox/mlx5/core/sf/sf.h | 6 +- include/net/devlink.h | 12 +--- net/devlink/leftover.c | 56 ++----------------- 4 files changed, 16 insertions(+), 72 deletions(-)
Signature · 1 line
2.39.2