]> git.ipfire.org Git - thirdparty/iproute2.git/commit
devlink: introduce support for netns id for nested handle
authorJiri Pirko <jiri@nvidia.com>
Tue, 7 Nov 2023 08:06:05 +0000 (09:06 +0100)
committerDavid Ahern <dsahern@kernel.org>
Sat, 11 Nov 2023 17:31:29 +0000 (17:31 +0000)
commit2ded9c18a37b13e593dd9fe749f1535487f0fe4e
tree6c1746e2500558b87895e4e2503be4cad92a0721
parente98d5084f7cdaec85d34dd75bb03bed57e284e83
devlink: introduce support for netns id for nested handle

Nested handle may contain DEVLINK_ATTR_NETNS_ID attribute that indicates
the network namespace where the nested devlink instance resides. Process
this converting to netns name if possible and print to user.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
devlink/devlink.c
include/namespace.h
lib/namespace.c