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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html