]> git.openfabrics.org - ~shefty/libibcm.git/commitdiff
r3553: Update to new ibv_create_cq API
authorHal Rosenstock <halr@voltaire.com>
Tue, 27 Sep 2005 00:02:27 +0000 (00:02 +0000)
committerSean Hefty <sean.hefty@intel.com>
Tue, 27 Sep 2005 00:02:27 +0000 (00:02 +0000)
Signed-off-by: Hal Rosenstock <halr@voltaire.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
examples/cmpost.c

index de9300fb42840fff9e0c80484337abe42be852f3..ba71ab21b940387d26fc6017cbf33b5ab2e32af8 100644 (file)
@@ -315,7 +315,7 @@ static int init_node(struct cmtest_node *node, struct ibv_qp_init_attr *qp_attr)
        }
 
        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;