Re: [PATCH rdma-next v3 00/14] RDMA: Make device names unique per net namespace
From: Leon Romanovsky <leon@kernel.org>
Date: 2026-07-26 07:32:36
Also in:
cgroups, linux-kselftest, linux-rdma, linux-s390
On Thu, 16 Jul 2026 15:23:01 +0200, Jiri Pirko wrote:
From: Jiri Pirko <redacted> RDMA device names are unique system-wide today: __ib_device_get_by_name() checks a requested name against every registered device regardless of the network namespace it lives in. A device in one network namespace therefore cannot use a name already taken in another, even in exclusive netns mode (netns_mode=0) where the two are otherwise isolated. Net devices have no such restriction - their names only need to be unique within a network namespace. [...]
Applied, thanks!
[01/14] RDMA/core: Pass the net namespace to the device name lookups
https://git.kernel.org/rdma/rdma/c/8d010293845e21
[02/14] RDMA/core: Handle device name conflicts when changing net namespace
https://git.kernel.org/rdma/rdma/c/fa8f67f797d53d
[03/14] RDMA/core: Support renaming a device when changing its net namespace
https://git.kernel.org/rdma/rdma/c/8fc673bebd07ce
[04/14] RDMA/nldev: Report net namespace move errors through extack
https://git.kernel.org/rdma/rdma/c/e11553414e1e90
[05/14] RDMA/nldev: Allow setting the device name while changing net namespace
https://git.kernel.org/rdma/rdma/c/601f3fd97dec05
[06/14] net/smc: Look up the pnetid ib device within the net namespace
https://git.kernel.org/rdma/rdma/c/47b9ef3c0013e1
[07/14] RDMA/srp: Make the SRP sysfs class net namespace aware
https://git.kernel.org/rdma/rdma/c/e9153a2671194e
[08/14] RDMA/cgroup: Disambiguate devices across net namespaces
https://git.kernel.org/rdma/rdma/c/c4ef67e5aa3e08
[09/14] RDMA/cma: Document that CM configfs cannot be net namespace scoped
https://git.kernel.org/rdma/rdma/c/bca2c9d781bccb
[10/14] RDMA/core: Document the SELinux ibendport net namespace limitation
https://git.kernel.org/rdma/rdma/c/4ad1fe8e25e41a
[11/14] RDMA/core: Make device names unique per net namespace
https://git.kernel.org/rdma/rdma/c/625ca0d94cb13a
[12/14] RDMA/rxe: Allow queue VMAs to outlive ucontexts
https://git.kernel.org/rdma/rdma/c/22fe73aef39f27
[13/14] RDMA/rxe: Implement disassociate_ucontext callback
https://git.kernel.org/rdma/rdma/c/acf9cbb06f1fad
[14/14] RDMA/selftests: Add rxe_netns_names test
https://git.kernel.org/rdma/rdma/c/ecdcc8a455b784
Best regards,
--
Leon Romanovsky [off-list ref]