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

From
Omar Sandoval <osandov@osandov.com>
Date
2021-02-03 16:40:51
Reply to
Bart Van Assche, 2021-01-26
On Mon, Jan 25, 2021 at 08:45:19PM -0800, Bart Van Assche wrote:
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.
Thread (8 messages) 8 messages, 3 authors, last reply 2021-02-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help