Searched refs:qp_attrs (Results 1 – 2 of 2) sorted by relevance
417 struct ib_qp_init_attr *qp_attrs, struct c2_qp *qp) in c2_alloc_qp() argument422 struct c2_cq *send_cq = to_c2cq(qp_attrs->send_cq); in c2_alloc_qp()423 struct c2_cq *recv_cq = to_c2cq(qp_attrs->recv_cq); in c2_alloc_qp()464 wr.sq_depth = cpu_to_be32(qp_attrs->cap.max_send_wr + 1); in c2_alloc_qp()465 wr.rq_depth = cpu_to_be32(qp_attrs->cap.max_recv_wr + 1); in c2_alloc_qp()469 wr.send_sgl_depth = cpu_to_be32(qp_attrs->cap.max_send_sge); in c2_alloc_qp()470 wr.recv_sgl_depth = cpu_to_be32(qp_attrs->cap.max_recv_sge); in c2_alloc_qp()471 wr.rdma_write_sgl_depth = cpu_to_be32(qp_attrs->cap.max_send_sge); in c2_alloc_qp()509 qp->send_sgl_depth = qp_attrs->cap.max_send_sge; in c2_alloc_qp()510 qp->rdma_write_sgl_depth = qp_attrs->cap.max_send_sge; in c2_alloc_qp()[all …]
489 struct ib_qp_init_attr *qp_attrs, struct c2_qp *qp);