- Fix and add comments -- output full name for pd
- Protect argument in macro... This commit was SVN r17434.
Этот коммит содержится в:
родитель
b20f434306
Коммит
7621800477
@ -976,9 +976,10 @@ static int init_one_hca(opal_list_t *btl_list, struct ibv_device* ib_dev)
|
||||
hca->use_eager_rdma = values.use_eager_rdma;
|
||||
}
|
||||
|
||||
/* Allocate the protection domain for the HCA */
|
||||
hca->ib_pd = ibv_alloc_pd(hca->ib_dev_context);
|
||||
if(NULL == hca->ib_pd){
|
||||
BTL_ERROR(("error allocating pd for %s errno says %s\n",
|
||||
BTL_ERROR(("error allocating protection domain for %s errno says %s\n",
|
||||
ibv_get_device_name(ib_dev), strerror(errno)));
|
||||
goto error;
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ typedef struct mca_pml_ob1_ack_hdr_t mca_pml_ob1_ack_hdr_t;
|
||||
headers */
|
||||
#define MCA_PML_OB1_ACK_HDR_NTOH(h) \
|
||||
do { \
|
||||
MCA_PML_OB1_COMMON_HDR_NTOH(h.hdr_common); \
|
||||
MCA_PML_OB1_COMMON_HDR_NTOH((h).hdr_common); \
|
||||
(h).hdr_send_offset = ntoh64((h).hdr_send_offset); \
|
||||
} while (0)
|
||||
|
||||
@ -225,7 +225,7 @@ typedef struct mca_pml_ob1_rdma_hdr_t mca_pml_ob1_rdma_hdr_t;
|
||||
|
||||
#define MCA_PML_OB1_RDMA_HDR_NTOH(h) \
|
||||
do { \
|
||||
MCA_PML_OB1_COMMON_HDR_NTOH(h.hdr_common); \
|
||||
MCA_PML_OB1_COMMON_HDR_NTOH((h).hdr_common); \
|
||||
(h).hdr_seg_cnt = ntohl((h).hdr_seg_cnt); \
|
||||
(h).hdr_rdma_offset = ntoh64((h).hdr_rdma_offset); \
|
||||
} while (0)
|
||||
@ -253,7 +253,7 @@ typedef struct mca_pml_ob1_fin_hdr_t mca_pml_ob1_fin_hdr_t;
|
||||
|
||||
#define MCA_PML_OB1_FIN_HDR_NTOH(h) \
|
||||
do { \
|
||||
MCA_PML_OB1_COMMON_HDR_NTOH(h.hdr_common); \
|
||||
MCA_PML_OB1_COMMON_HDR_NTOH((h).hdr_common); \
|
||||
} while (0)
|
||||
|
||||
#define MCA_PML_OB1_FIN_HDR_HTON(h) \
|
||||
|
@ -310,7 +310,7 @@ opal_init(void)
|
||||
}
|
||||
|
||||
/*
|
||||
* Intialize the general progress engine
|
||||
* Initialize the general progress engine
|
||||
*/
|
||||
if (OPAL_SUCCESS != (ret = opal_progress_init())) {
|
||||
error = "opal_progress_init";
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user