[openib-general] [PATCH] examples/cmpost.c: Update to new ibv_create_cq API

Hal Rosenstock halr at voltaire.com
Mon Sep 26 16:31:23 PDT 2005


examples/cmpost.c: Update to new ibv_create_cq API

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: examples/cmpost.c
===================================================================
--- examples/cmpost.c   (revision 3552)
+++ examples/cmpost.c   (working copy)
@@ -315,7 +315,7 @@ static int init_node(struct cmtest_node 
        }
 
        cqe = message_count ? message_count * 2 : 2;
-       node->cq = ibv_create_cq(test.verbs, cqe, node);
+       node->cq = ibv_create_cq(test.verbs, cqe, node, NULL, 0);
        if (!node->cq) {
                printf("unable to create CQ\n");
                goto error1;





More information about the general mailing list