]> git.openfabrics.org - ~shefty/libibverbs.git/commitdiff
Refresh of xrc_qp
authorSean Hefty <sean.hefty@intel.com>
Wed, 26 Sep 2012 21:05:21 +0000 (14:05 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 26 Sep 2012 21:05:21 +0000 (14:05 -0700)
src/cmd.c

index 39dc59980516b6937ca7dbb4105067f3cd090024..3bde238e6091b6537d09d263baea03e73c552f92 100644 (file)
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -719,12 +719,12 @@ int ibv_cmd_create_qp_ex(struct verbs_context *context,
        qp->qp.handle           = resp->qp_handle;
        qp->qp.qp_num           = resp->qpn;
        qp->qp.context          = &context->context;
-       qp->qp.qp_context       = qp_init_attr_ex->qp_context;
+       qp->qp.qp_context       = attr_ex->qp_context;
        qp->qp.pd               = attr_ex->pd;
-       qp->qp.send_cq          = qp_init_attr_ex->send_cq;
-       qp->qp.recv_cq          = qp_init_attr_ex->recv_cq;
-       qp->qp.srq              = qp_init_attr_ex->srq;
-       qp->qp.qp_type          = qp_init_attr_ex->qp_type;
+       qp->qp.send_cq          = attr_ex->send_cq;
+       qp->qp.recv_cq          = attr_ex->recv_cq;
+       qp->qp.srq              = attr_ex->srq;
+       qp->qp.qp_type          = attr_ex->qp_type;
        qp->qp.state            = IBV_QPS_RESET;
        qp->qp.events_completed = 0;
        pthread_mutex_init(&qp->qp.mutex, NULL);