Skip to content

Clean devlink net namespace operations

Leon Romanovsky lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2devlink: Break parameter notification sequence to be before/after unload/load drivernet/core/devlink.c+20 -124 replies
2/2devlink: Allocate devlink directly in requested net namespacedrivers/net/netdevsim/dev.c include/net/devlink.h net/core/devlink.c+22 -222 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchParav PanditJiri Pirko
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] Clean devlink net namespace operations

From: Leon Romanovsky <[email protected]>

Hi Dave, Jakub and Jiri

This short series continues my work on devlink core code to make devlink reload less prone to errors and harden it from API abuse.

Despite first patch being a clear fix, I would ask you to apply it to net-next anyway, because the fixed patch is anyway old and it will help us to eliminate merge conflicts that will arise for following patches or even for the second one.

Thanks

Leon Romanovsky (2):
devlink: Break parameter notification sequence to be before/after
unload/load driver
devlink: Allocate devlink directly in requested net namespace

 drivers/net/netdevsim/dev.c |  4 +--
 include/net/devlink.h       | 14 ++++++++--
 net/core/devlink.c          | 56 ++++++++++++++++++-------------------
 3 files changed, 41 insertions(+), 33 deletions(-)
Signature · 1 line
2.31.1