]> git.proxmox.com Git - mirror_iproute2.git/commit
devlink: extend reload command to add support for network namespace change
authorJiri Pirko <jiri@mellanox.com>
Thu, 3 Oct 2019 09:51:15 +0000 (11:51 +0200)
committerDavid Ahern <dsahern@kernel.org>
Mon, 7 Oct 2019 22:00:49 +0000 (22:00 +0000)
commit08e8e1ca3e0575bfe5ae15a7549b382ede65af35
tree896f0691b7769089accccc6749365363973247eb
parent29993df876b9197fd560c8539a572a48f05dc370
devlink: extend reload command to add support for network namespace change

Extend existing devlink reload command by adding option "netns" by which
user can instruct kernel to reload the devlink instance into specified
network namespace.

Example:

$ ip netns add testns1
$ devlink dev reload netdevsim/netdevsim10 netns testns1

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
devlink/devlink.c
man/man8/devlink-dev.8