Skip to content

Commit d954167

Browse files
authored
Merge pull request #3881 from bharatpotnuri/master
master: btl/openib: Handle EOPNOTSUPP
2 parents 6fe5b36 + 9154ade commit d954167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/btl/openib/btl_openib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ static int adjust_cq(mca_btl_openib_device_t *device, const int cq)
226226
rc = ibv_resize_cq(device->ib_cq[cq], cq_size);
227227
/* For ConnectX the resize CQ is not implemented and verbs returns -ENOSYS
228228
* but should return ENOSYS. So it is reason for abs */
229-
if(rc && ENOSYS != abs(rc)) {
229+
if(rc && ENOSYS != abs(rc) && EOPNOTSUPP != abs(rc)) {
230230
BTL_ERROR(("cannot resize completion queue, error: %d", rc));
231231
return OPAL_ERROR;
232232
}

0 commit comments

Comments
 (0)