Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Roland Dreier (rolandd_at_[hidden])
Date: 2005-09-26 16:20:20


[It's somewhat annoying to have to subscribe to devel_at_[hidden]
just to be able to send patches, but oh well...]

This patch updates Open MPI for the new ibv_create_cq() API.

Signed-off-by: Roland Dreier <rolandd_at_[hidden]>

--- ompi/mca/btl/openib/btl_openib.c (revision 7507)
+++ ompi/mca/btl/openib/btl_openib.c (working copy)
@@ -656,7 +656,8 @@ int mca_btl_openib_module_init(mca_btl_o
     }
 
     /* Create the low and high priority queue pairs */
- openib_btl->ib_cq_low = ibv_create_cq(ctx, mca_btl_openib_component.ib_cq_size, NULL);
+ openib_btl->ib_cq_low = ibv_create_cq(ctx, mca_btl_openib_component.ib_cq_size,
+ NULL, NULL, 0);
     
     if(NULL == openib_btl->ib_cq_low) {
         BTL_ERROR(("error creating low priority cq for %s errno says %s\n",
@@ -665,7 +666,8 @@ int mca_btl_openib_module_init(mca_btl_o
         return OMPI_ERROR;
     }
 
- openib_btl->ib_cq_high = ibv_create_cq(ctx, mca_btl_openib_component.ib_cq_size, NULL);
+ openib_btl->ib_cq_high = ibv_create_cq(ctx, mca_btl_openib_component.ib_cq_size,
+ NULL, NULL, 0);
     
     if(NULL == openib_btl->ib_cq_high) {
         BTL_ERROR(("error creating high priority cq for %s errno says %s\n",