From 1048526e8c3fa04375666687325cc044632c767b Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Mon, 17 Sep 2012 21:21:57 -0700 Subject: [PATCH] Refresh of xrc_qp --- src/cmd.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/cmd.c b/src/cmd.c index e9f9727..d9f0b7a 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -653,14 +653,14 @@ int ibv_cmd_create_qp_ex(struct ibv_pd *pd, } } - cmd->max_send_wr = attr->cap.max_send_wr; - cmd->max_recv_wr = attr->cap.max_recv_wr; - cmd->max_send_sge = attr->cap.max_send_sge; - cmd->max_recv_sge = attr->cap.max_recv_sge; - cmd->max_inline_data = attr->cap.max_inline_data; - cmd->sq_sig_all = attr->sq_sig_all; - cmd->qp_type = attr->qp_type; - cmd->is_srq = !!attr->srq; + cmd->max_send_wr = attr_ex->cap.max_send_wr; + cmd->max_recv_wr = attr_ex->cap.max_recv_wr; + cmd->max_send_sge = attr_ex->cap.max_send_sge; + cmd->max_recv_sge = attr_ex->cap.max_recv_sge; + cmd->max_inline_data = attr_ex->cap.max_inline_data; + cmd->sq_sig_all = attr_ex->sq_sig_all; + cmd->qp_type = attr_ex->qp_type; + cmd->is_srq = !!attr_ex->srq; cmd->reserved = 0; if (write(context->cmd_fd, cmd, cmd_size) != cmd_size) -- 2.46.0