The ib_inline_max should be updated only when SEND qp is created.
This commit was SVN r16973.
Этот коммит содержится в:
родитель
f79e344ea4
Коммит
fcbca510d8
@ -265,8 +265,9 @@ static int xoob_qp_create(mca_btl_base_endpoint_t* endpoint, xoob_qp_type type)
|
|||||||
BTL_ERROR(("error creating qp errno says %s", strerror(errno)));
|
BTL_ERROR(("error creating qp errno says %s", strerror(errno)));
|
||||||
return OMPI_ERROR;
|
return OMPI_ERROR;
|
||||||
}
|
}
|
||||||
openib_btl->ib_inline_max = qp_init_attr.cap.max_inline_data;
|
if (SEND == type) {
|
||||||
|
openib_btl->ib_inline_max = qp_init_attr.cap.max_inline_data;
|
||||||
|
}
|
||||||
attr.qp_state = IBV_QPS_INIT;
|
attr.qp_state = IBV_QPS_INIT;
|
||||||
attr.pkey_index = openib_btl->pkey_index;
|
attr.pkey_index = openib_btl->pkey_index;
|
||||||
attr.port_num = openib_btl->port_num;
|
attr.port_num = openib_btl->port_num;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user