Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librdmacm: Don't rely on IB device index if not available
[ Upstream commit c755e22 ] When rdma-core is built with "-DENABLE_RESOLVE_NEIGH=0", it skips linkage to libnl library. This causes to ibv_idx to stay in its default value (-1). Update the match function to treat such scenario to be the same as not-supported by the kernel flow. Fixes: 28da4a8 ("librdmacm: Rely on IB device index if available") Signed-off-by: Mark Zhang <markzhang@nvidia.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
- Loading branch information