From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH v2 rdma-core 2/2] libhns: Support cq record doorbell Date: Fri, 9 Feb 2018 08:18:50 -0700 Message-ID: <20180209151850.GA7570@ziepe.ca> References: <1518176724-126991-1-git-send-email-liuyixian@huawei.com> <1518176724-126991-3-git-send-email-liuyixian@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1518176724-126991-3-git-send-email-liuyixian-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Yixian Liu Cc: leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On Fri, Feb 09, 2018 at 07:45:24PM +0800, Yixian Liu wrote: > @@ -285,12 +295,10 @@ struct ibv_cq *hns_roce_u_create_cq(struct ibv_context *context, int cqe, > > cq->cqn = resp.cqn; > cq->cq_depth = cqe; > + cq->flags = resp.cap_flags; resp needs to be zero initialized for this to work Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html