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

From
Omar Sandoval <osandov@osandov.com>
Date
2021-03-07 20:41:25
Reply to
Bart Van Assche, 2021-02-28
On Sun, Feb 28, 2021 at 02:34:03PM -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>
---
v2: Added a _have_program check for 'rdma' as requested by Omar.
---
 common/multipath-over-rdma | 111 +++++++++++--------------------------
 tests/nvmeof-mp/rc         |   2 +-
 tests/srp/rc               |  12 +---
 3 files changed, 35 insertions(+), 90 deletions(-)
Thanks, applied.
Thread (2 messages) 2 messages, 2 authors, last reply 2021-03-07
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