On Sun, Oct 23, 2022 at 06:04:47PM -0400, Zhu Yanjun wrote: > From: Zhu Yanjun <yanjun.zhu@xxxxxxxxx> > > 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