]> Git Repo - linux.git/commit
net: devlink: allow to change namespaces during reload
authorJiri Pirko <[email protected]>
Thu, 3 Oct 2019 09:49:39 +0000 (11:49 +0200)
committerDavid S. Miller <[email protected]>
Fri, 4 Oct 2019 18:10:56 +0000 (11:10 -0700)
commit070c63f20f6c739a3c534555f56c7327536bfcc2
treebeee6089d6353e0a1c2524f47621e43cd105bcab
parent4f174bbcc96c80720722e25f198580a184803c3a
net: devlink: allow to change namespaces during reload

All devlink instances are created in init_net and stay there for a
lifetime. Allow user to be able to move devlink instances into
namespaces during devlink reload operation. That ensures proper
re-instantiation of driver objects, including netdevices.

Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/netdevsim/dev.c
include/net/devlink.h
include/uapi/linux/devlink.h
net/core/devlink.c
This page took 0.06144 seconds and 4 git commands to generate.