On Fri, Feb 09, 2018 at 07:45:23PM +0800, Yixian Liu wrote: > @@ -574,6 +588,7 @@ struct ibv_qp *hns_roce_u_create_qp(struct ibv_pd *pd, > > qp->rq.wqe_cnt = attr->cap.max_recv_wr; > qp->rq.max_gs = attr->cap.max_recv_sge; > + qp->flags = resp.cap_flags; Also need zero init for resp 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