btl/openib: fix compilation issues with XRC
Этот коммит содержится в:
родитель
2a382c2ec1
Коммит
2b579610f2
@ -12,6 +12,7 @@
|
||||
|
||||
#include "btl_openib.h"
|
||||
#include "btl_openib_endpoint.h"
|
||||
#include "btl_openib_xrc.h"
|
||||
|
||||
#if HAVE_DECL_IBV_ATOMIC_HCA
|
||||
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "btl_openib.h"
|
||||
#include "btl_openib_frag.h"
|
||||
#include "btl_openib_endpoint.h"
|
||||
#include "btl_openib_xrc.h"
|
||||
|
||||
/*
|
||||
* RDMA READ remote buffer to local buffer address.
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "btl_openib.h"
|
||||
#include "btl_openib_frag.h"
|
||||
#include "btl_openib_endpoint.h"
|
||||
#include "btl_openib_xrc.h"
|
||||
|
||||
/*
|
||||
* RDMA WRITE local buffer to remote buffer address.
|
||||
|
@ -517,7 +517,7 @@ static int udcm_endpoint_init_self_xrc (struct mca_btl_base_endpoint_t *lcl_ep)
|
||||
opal_mutex_lock (&udep->udep_lock);
|
||||
do {
|
||||
rc = udcm_xrc_recv_qp_connect (lcl_ep);
|
||||
if (OMPI_SUCCESS != rc) {
|
||||
if (OPAL_SUCCESS != rc) {
|
||||
BTL_VERBOSE(("error connecting loopback XRC receive queue pair"));
|
||||
break;
|
||||
}
|
||||
@ -525,21 +525,21 @@ static int udcm_endpoint_init_self_xrc (struct mca_btl_base_endpoint_t *lcl_ep)
|
||||
lcl_ep->xrc_recv_qp_num = lcl_ep->qps[0].qp->lcl_qp->qp_num;
|
||||
|
||||
rc = mca_btl_openib_endpoint_post_recvs (lcl_ep);
|
||||
if (OMPI_SUCCESS != rc) {
|
||||
if (OPAL_SUCCESS != rc) {
|
||||
BTL_VERBOSE(("error posting receives for loopback queue pair"));
|
||||
break;
|
||||
}
|
||||
|
||||
rc = udcm_xrc_recv_qp_create (lcl_ep, lcl_ep->qps[0].qp->lcl_qp->qp_num,
|
||||
lcl_ep->qps[0].qp->lcl_psn);
|
||||
if (OMPI_SUCCESS != rc) {
|
||||
if (OPAL_SUCCESS != rc) {
|
||||
BTL_VERBOSE(("error creating loopback XRC receive queue pair"));
|
||||
break;
|
||||
}
|
||||
|
||||
rc = udcm_xrc_send_qp_connect (lcl_ep, lcl_ep->qps[0].qp->lcl_qp->qp_num,
|
||||
lcl_ep->qps[0].qp->lcl_psn);
|
||||
if (OMPI_SUCCESS != rc) {
|
||||
if (OPAL_SUCCESS != rc) {
|
||||
BTL_VERBOSE(("error creating loopback XRC send queue pair"));
|
||||
break;
|
||||
}
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user