Re: [PATCH 0/3] RDMA net namespace

Leon Romanovsky
2022-10-23T13:04:13Z

On Sun, Oct 23, 2022 at 06:04:47PM -0400, Zhu Yanjun wrote:
> From: Zhu Yanjun <yanjun.zhu@linux.dev>
>
> There are shared and exclusive modes in RDMA net namespace. After
> discussion with Leon, the above modes are compatible with legacy IB
> device.
>
> To the RoCE and iWARP devices, the ib devices should be in the same net
> namespace with the related net devices regardless of in shared or
> exclusive mode.
>
> In the first commit, when the net devices are moved to a new net
> namespace, the related ib devices are also moved to the same net
> namespace.

I think that rdma_dev_net_ops are supposed to handle this.

Thanks