Re: [RFC PATCH 1/1] RDMA/core: Fix a problem from rdma link in exclusive mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



在 2022/10/11 18:12, Leon Romanovsky 写道:
On Mon, Oct 10, 2022 at 08:25:45PM -0400, Zhu Yanjun wrote:
From: Zhu Yanjun <yanjun.zhu@xxxxxxxxx>

This is not an official commit. In rdma net namespace, the rdma device
is separate from the net device. For example, a rdma device A is in net
namespace A1 while the related net device B is in net namespace B1.

I am curious how to make perftest and rping tests on the above
scenario. The ip address of net device B is in net namespace B1
while the rdma device is in net namespace A1.

Use "exclusive" mode, "shared" is legacy interface for backward
compatibility.

Got it. Thanks.



 From my perspective, the rdma device and related net device should
be in the same net namespace. When a net device is moved from one net
namespace to another net namespace, the rdma device should be in the
same net namespace with the net device.

In this commit, when all the ib devices are parsed in exclusive mode,
if the ib devices and related net devices are not in the same net
namespace, the link information will not be reported to user space.

This commit is a RFC.

Please don't send patches as reply-to.

OK. I will send another commit to fix this problem very soon.

Zhu Yanjun


Thanks




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux