From 4f4ea96940ef8ddd7c626644e01b80ac0680d50c Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Wed, 17 Feb 2016 14:54:19 -0700 Subject: [PATCH] btl/openib/udcm: fix local XRC connections This commit ensures ib_addr->remote_xrc_rcv_qp_num value is set when creating the loopback queue pair. This is needed when communicating with any other local peer. Signed-off-by: Nathan Hjelm --- opal/mca/btl/openib/connect/btl_openib_connect_udcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/opal/mca/btl/openib/connect/btl_openib_connect_udcm.c b/opal/mca/btl/openib/connect/btl_openib_connect_udcm.c index a91123d2de..245fca5621 100644 --- a/opal/mca/btl/openib/connect/btl_openib_connect_udcm.c +++ b/opal/mca/btl/openib/connect/btl_openib_connect_udcm.c @@ -557,6 +557,7 @@ static int udcm_endpoint_init_self_xrc (struct mca_btl_base_endpoint_t *lcl_ep) recv_qpn = lcl_ep->xrc_recv_qp_num; #endif + lcl_ep->ib_addr->remote_xrc_rcv_qp_num = recv_qpn; lcl_ep->rem_info.rem_qps[0].rem_psn = lcl_ep->xrc_recv_psn; lcl_ep->rem_info.rem_qps[0].rem_qp_num = recv_qpn;