From c9382f23e9793be415c63a9be123413acff30195 Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Tue, 8 Dec 2015 10:34:16 -0700 Subject: [PATCH] mlx5: need to set comp_mask to get experimental verbs attributes Signed-off-by: Nathan Hjelm --- opal/mca/btl/openib/btl_openib_component.c | 1 + 1 file changed, 1 insertion(+) diff --git a/opal/mca/btl/openib/btl_openib_component.c b/opal/mca/btl/openib/btl_openib_component.c index 07e94d6390..3f7dc1a490 100644 --- a/opal/mca/btl/openib/btl_openib_component.c +++ b/opal/mca/btl/openib/btl_openib_component.c @@ -1650,6 +1650,7 @@ static int init_one_device(opal_list_t *btl_list, struct ibv_device* ib_dev) goto error; } #if HAVE_DECL_IBV_EXP_QUERY_DEVICE + device->ib_exp_dev_attr.comp_mask = IBV_EXP_DEVICE_ATTR_RESERVED - 1; if(ibv_exp_query_device(device->ib_dev_context, &device->ib_exp_dev_attr)){ BTL_ERROR(("error obtaining device attributes for %s errno says %s", ibv_get_device_name(device->ib_dev), strerror(errno)));