Thread (8 messages) 8 messages, 3 authors, 2021-02-28

Re: [PATCH blktests 3/3] rdma: Use rdma link instead of /sys/class/infiniband/*/parent

flat view

From: Bart Van Assche <bvanassche@acm.org>
Date: 2021-02-04 03:59:58

On 2/3/21 8:40 AM, Omar Sandoval wrote:
On Mon, Jan 25, 2021 at 08:45:19PM -0800, Bart Van Assche wrote:
quoted
The approach of verifying whether or not an RDMA interface is associated
with the rdma_rxe interface by looking up its parent device is deprecated
and will be removed soon from the Linux kernel. Hence this patch that uses
the rdma link command instead.

Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Yi Zhang <redacted>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
 common/multipath-over-rdma | 111 +++++++++++--------------------------
 tests/srp/rc               |   9 +--
 2 files changed, 32 insertions(+), 88 deletions(-)
I think we need to add _have_program rdma checks to srp and nvmeof-mp,
right? The first two patches look fine, I'll merge those.
Sure, I will add a _have_program rdma check and repost this patch.

Thanks,

Bart.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help