]> www.infradead.org Git - users/hch/blktests.git/commit
rdma: Use rdma link instead of /sys/class/infiniband/*/parent
authorBart Van Assche <bvanassche@acm.org>
Sun, 28 Feb 2021 22:34:03 +0000 (14:34 -0800)
committerOmar Sandoval <osandov@fb.com>
Sun, 7 Mar 2021 20:37:20 +0000 (12:37 -0800)
commitcfd87a4d2fb1a70a731029e1c34b9ed1d9d1c482
treefa7888fd32c5e7427342cbcc997568a0cda026e9
parenta7e9382145fa2c79987ffa2074f7f77348e15871
rdma: Use rdma link instead of /sys/class/infiniband/*/parent

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 <yi.zhang@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
common/multipath-over-rdma
tests/nvmeof-mp/rc
tests/srp/rc