The issue was reported/fixed by Jon Mason one month ago but the fix was not committed. So I'm commiting it now.
This commit was SVN r17835.
Этот коммит содержится в:
родитель
be13b86fc5
Коммит
54ad8d7446
@ -141,8 +141,8 @@ static int adjust_cq(mca_btl_openib_hca_t *hca, const int cq)
|
||||
if(cq_size < mca_btl_openib_component.ib_cq_size[cq])
|
||||
cq_size = mca_btl_openib_component.ib_cq_size[cq];
|
||||
|
||||
if(cq_size > (uint32_t)hca->ib_dev_attr.max_cq)
|
||||
cq_size = hca->ib_dev_attr.max_cq;
|
||||
if(cq_size > (uint32_t)hca->ib_dev_attr.max_cqe)
|
||||
cq_size = hca->ib_dev_attr.max_cqe;
|
||||
|
||||
if(NULL == hca->ib_cq[cq]) {
|
||||
hca->ib_cq[cq] = ibv_create_cq_compat(hca->ib_dev_context, cq_size,
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user