Skip to content

Commit 9154ade

Browse files
committed
btl/openib: Handle EOPNOTSUPP
Updated openib BTL to handle EOPNOTSUPP as per https://www.open-mpi.org/community/lists/devel/2016/04/18839.php Signed-off-by: Potnuri Bharat Teja <[email protected]>
1 parent ccf1780 commit 9154ade

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)