1
1
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 <bharat@chelsio.com>
Этот коммит содержится в:
Potnuri Bharat Teja 2017-07-13 21:05:32 +05:30
родитель ccf17808b6
Коммит 9154ade8b1

Просмотреть файл

@ -226,7 +226,7 @@ static int adjust_cq(mca_btl_openib_device_t *device, const int cq)
rc = ibv_resize_cq(device->ib_cq[cq], cq_size);
/* 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)) {
if(rc && ENOSYS != abs(rc) && EOPNOTSUPP != abs(rc)) {
BTL_ERROR(("cannot resize completion queue, error: %d", rc));
return OPAL_ERROR;
}