From: Leon Romanovsky <leon@kernel.org>
To: linux-rdma@vger.kernel.org, Jiri Pirko <jiri@resnulli.us>
Cc: cgroups@vger.kernel.org, netdev@vger.kernel.org,
linux-s390@vger.kernel.org, linux-kselftest@vger.kernel.org,
jgg@ziepe.ca, parav@nvidia.com, mbloch@nvidia.com,
cmeiohas@nvidia.com, roman.gushchin@linux.dev,
bvanassche@acm.org, zyjzyj2000@gmail.com, shuah@kernel.org,
tj@kernel.org, mkoutny@suse.com, hannes@cmpxchg.org,
alibuda@linux.alibaba.com, dust.li@linux.alibaba.com,
sidraya@linux.ibm.com, wenjia@linux.ibm.com,
yanjun.zhu@linux.dev, cui.tao@linux.dev
Subject: Re: [PATCH rdma-next v3 00/14] RDMA: Make device names unique per net namespace
Date: Sun, 26 Jul 2026 03:32:33 -0400 [thread overview]
Message-ID: <178505115342.4046214.13697578772610862537.b4-ty@kernel.org> (raw)
In-Reply-To: <20260716132316.1495242-1-jiri@resnulli.us>
On Thu, 16 Jul 2026 15:23:01 +0200, Jiri Pirko wrote:
> From: Jiri Pirko <jiri@nvidia.com>
>
> 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 <leon@kernel.org>
prev parent reply other threads:[~2026-07-26 7:32 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-16 13:23 [PATCH rdma-next v3 00/14] RDMA: Make device names unique per net namespace Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 01/14] RDMA/core: Pass the net namespace to the device name lookups Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 02/14] RDMA/core: Handle device name conflicts when changing net namespace Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 03/14] RDMA/core: Support renaming a device when changing its " Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 04/14] RDMA/nldev: Report net namespace move errors through extack Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 05/14] RDMA/nldev: Allow setting the device name while changing net namespace Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 06/14] net/smc: Look up the pnetid ib device within the " Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 07/14] RDMA/srp: Make the SRP sysfs class net namespace aware Jiri Pirko
2026-07-30 18:34 ` Bart Van Assche
2026-07-16 13:23 ` [PATCH rdma-next v3 08/14] RDMA/cgroup: Disambiguate devices across net namespaces Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 09/14] RDMA/cma: Document that CM configfs cannot be net namespace scoped Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 10/14] RDMA/core: Document the SELinux ibendport net namespace limitation Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 11/14] RDMA/core: Make device names unique per net namespace Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 12/14] RDMA/rxe: Allow queue VMAs to outlive ucontexts Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 13/14] RDMA/rxe: Implement disassociate_ucontext callback Jiri Pirko
2026-07-16 13:23 ` [PATCH rdma-next v3 14/14] RDMA/selftests: Add rxe_netns_names test Jiri Pirko
2026-07-17 4:22 ` Zhu Yanjun
2026-07-22 11:19 ` [PATCH rdma-next v3 00/14] RDMA: Make device names unique per net namespace Jiri Pirko
2026-07-22 11:53 ` Leon Romanovsky
2026-07-22 13:01 ` Jiri Pirko
2026-07-26 7:32 ` Leon Romanovsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178505115342.4046214.13697578772610862537.b4-ty@kernel.org \
--to=leon@kernel.org \
--cc=alibuda@linux.alibaba.com \
--cc=bvanassche@acm.org \
--cc=cgroups@vger.kernel.org \
--cc=cmeiohas@nvidia.com \
--cc=cui.tao@linux.dev \
--cc=dust.li@linux.alibaba.com \
--cc=hannes@cmpxchg.org \
--cc=jgg@ziepe.ca \
--cc=jiri@resnulli.us \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=mbloch@nvidia.com \
--cc=mkoutny@suse.com \
--cc=netdev@vger.kernel.org \
--cc=parav@nvidia.com \
--cc=roman.gushchin@linux.dev \
--cc=shuah@kernel.org \
--cc=sidraya@linux.ibm.com \
--cc=tj@kernel.org \
--cc=wenjia@linux.ibm.com \
--cc=yanjun.zhu@linux.dev \
--cc=zyjzyj2000@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox