[openib-general] [PATCH] Update MVAPICH for new libibverbs API

Roland Dreier rolandd at cisco.com
Mon Sep 26 14:15:27 PDT 2005


This patch updates MVAPICH for the new ibv_create_cq() API.

Signed-off-by: Roland Dreier <rolandd at cisco.com>

--- mvapich-gen2/mpid/ch_gen2/viainit.c	(revision 3534)
+++ mvapich-gen2/mpid/ch_gen2/viainit.c	(working copy)
@@ -115,7 +115,7 @@ static void get_lid(void)
 static void create_cq(void)
 {
     ibv_dev.cq_hndl = ibv_create_cq(ibv_dev.context, 
-            viadev_cq_size, NULL);
+            viadev_cq_size, NULL, NULL, 0);
 
     if(!ibv_dev.cq_hndl) {
         error_abort_all(GEN_EXIT_ERR, "Error creating CQ\n");



More information about the general mailing list