OFED 1.3 doesn't implement ibv_resize_cq for connectX.
On error exit from ibv_resize_cq we should to check if the function is implemented. This commit was SVN r16799.
Этот коммит содержится в:
родитель
5f242c77f2
Коммит
8aca6eb31b
@ -350,7 +350,9 @@ static int adjust_cq(mca_btl_openib_hca_t *hca, const int cq_size, const int cq)
|
||||
else {
|
||||
int rc;
|
||||
rc = ibv_resize_cq(hca->ib_cq[cq], cq_size);
|
||||
if(rc) {
|
||||
/* For ConnectX the resize CQ is not implemented and verbs returns -ENOSYS
|
||||
* but should return ENOSYS. So it is reason for abs */
|
||||
if(rc && ENOSYS != abs(rc)) {
|
||||
BTL_ERROR(("cannot resize completion queue, error: %d", rc));
|
||||
return OMPI_ERROR;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user