mbox series

[net-next,v1,0/2] Clean devlink net namespace operations

Message ID cover.1627564383.git.leonro@nvidia.com
Headers show
Series Clean devlink net namespace operations | expand

Message

Leon Romanovsky July 29, 2021, 1:17 p.m. UTC
From: Leon Romanovsky <leonro@nvidia.com>

Changelog:
v1:
 * Patch 1:
   * Renamed function name
   * Added bool parameter to the notifier function 
 * Patch 2: 
   * added Jiri's ROB and dropped word "RAW" from the comment"
v0: https://lore.kernel.org/lkml/cover.1627545799.git.leonro@nvidia.com

-----------------------------------------------------------------------------
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(-)