Lines Matching refs:max_wqe
186 rq->max_wqe * qp->rq_hdr_buf_size, in bnxt_qplib_free_qp_hdr_buf()
190 sq->max_wqe * qp->sq_hdr_buf_size, in bnxt_qplib_free_qp_hdr_buf()
207 if (qp->sq_hdr_buf_size && sq->max_wqe) { in bnxt_qplib_alloc_qp_hdr_buf()
209 sq->max_wqe * qp->sq_hdr_buf_size, in bnxt_qplib_alloc_qp_hdr_buf()
219 if (qp->rq_hdr_buf_size && rq->max_wqe) { in bnxt_qplib_alloc_qp_hdr_buf()
221 rq->max_wqe * in bnxt_qplib_alloc_qp_hdr_buf()
656 hwq_attr.depth = srq->max_wqe; in bnxt_qplib_create_srq()
895 if (rq->max_wqe) { in bnxt_qplib_create_qp1()
908 req.rq_size = cpu_to_le32(rq->max_wqe); in bnxt_qplib_create_qp1()
943 if (rq->max_wqe) { in bnxt_qplib_create_qp1()
1090 req.rq_size = cpu_to_le32(rq->max_wqe); in bnxt_qplib_create_qp()
1178 if (rq->max_wqe) { in bnxt_qplib_create_qp()
1532 qp->sq.max_wqe = qp->sq.hwq.max_elements; in bnxt_qplib_query_qp()
1533 qp->rq.max_wqe = qp->rq.hwq.max_elements; in bnxt_qplib_query_qp()
2234 hwq_attr.depth = cq->max_wqe; in bnxt_qplib_create_cq()
2248 req.cq_size = cpu_to_le32(cq->max_wqe); in bnxt_qplib_create_cq()
2546 - 1) % sq->max_wqe); in do_wa9060()
2787 if (wr_id_idx > (rq->max_wqe - 1)) { in bnxt_qplib_cq_process_res_rc()
2790 wr_id_idx, rq->max_wqe); in bnxt_qplib_cq_process_res_rc()
2873 if (wr_id_idx > (rq->max_wqe - 1)) { in bnxt_qplib_cq_process_res_ud()
2876 wr_id_idx, rq->max_wqe); in bnxt_qplib_cq_process_res_ud()
2978 if (wr_id_idx > (rq->max_wqe - 1)) { in bnxt_qplib_cq_process_res_raweth_qp1()
2981 wr_id_idx, rq->max_wqe); in bnxt_qplib_cq_process_res_raweth_qp1()
3081 } else if (cqe_cons > rq->max_wqe - 1) { in bnxt_qplib_cq_process_terminal()
3084 cqe_cons, rq->max_wqe); in bnxt_qplib_cq_process_terminal()