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

index d9f0b7a0f83eeb2553a9bf5cbe388826579fe067..b957fedd0114effa9d847abc3cc1990f2e155cc3 100644 (file)
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -673,11 +673,11 @@ int ibv_cmd_create_qp_ex(struct ibv_pd *pd,
        qp->context               = context;
 
        if (abi_ver > 3) {
-               attr->cap.max_recv_sge    = resp->max_recv_sge;
-               attr->cap.max_send_sge    = resp->max_send_sge;
-               attr->cap.max_recv_wr     = resp->max_recv_wr;
-               attr->cap.max_send_wr     = resp->max_send_wr;
-               attr->cap.max_inline_data = resp->max_inline_data;
+               attr_ex->cap.max_recv_sge    = resp->max_recv_sge;
+               attr_ex->cap.max_send_sge    = resp->max_send_sge;
+               attr_ex->cap.max_recv_wr     = resp->max_recv_wr;
+               attr_ex->cap.max_send_wr     = resp->max_send_wr;
+               attr_ex->cap.max_inline_data = resp->max_inline_data;
        }
 
        if (abi_ver == 4) {