Lines Matching refs:max_wqe
220 qp->sq.max_wqe); in bnxt_qplib_alloc_hdr_buf()
229 qp->rq.max_wqe); in bnxt_qplib_alloc_hdr_buf()
655 hwq_attr.depth = srq->max_wqe; in bnxt_qplib_create_srq()
841 que->swq = kcalloc(que->max_wqe, sizeof(*que->swq), GFP_KERNEL); in bnxt_qplib_alloc_init_swq()
848 que->swq_last = que->max_wqe - 1; in bnxt_qplib_alloc_init_swq()
849 for (indx = 0; indx < que->max_wqe; indx++) in bnxt_qplib_alloc_init_swq()
883 return (que->wqe_size * que->max_wqe) / stride; in bnxt_qplib_get_depth()
890 que->max_wqe : bnxt_qplib_get_depth(que); in _set_sq_size()
957 req.rq_size = cpu_to_le32(rq->max_wqe); in bnxt_qplib_create_qp1()
1009 if (rq->max_wqe) { in bnxt_qplib_create_qp1()
1151 req.rq_size = cpu_to_le32(rq->max_wqe); in bnxt_qplib_create_qp()
1256 if (rq->max_wqe) { in bnxt_qplib_create_qp()
1575 qp->sq.max_wqe = qp->sq.hwq.max_elements; in bnxt_qplib_query_qp()
1576 qp->rq.max_wqe = qp->rq.hwq.max_elements; in bnxt_qplib_query_qp()
2394 hwq_attr.depth = cq->max_wqe; in bnxt_qplib_create_cq()
2413 req.cq_size = cpu_to_le32(cq->max_wqe); in bnxt_qplib_create_cq()
2801 - 1) % sq->max_wqe); in bnxt_re_legacy_do_wa9060()
2883 cqe_sq_cons = le16_to_cpu(hwcqe->sq_cons_idx) % sq->max_wqe; in bnxt_qplib_cq_process_req()
3042 if (wr_id_idx > (rq->max_wqe - 1)) { in bnxt_qplib_cq_process_res_rc()
3143 if (wr_id_idx > (rq->max_wqe - 1)) { in bnxt_qplib_cq_process_res_ud()
3264 if (wr_id_idx > (rq->max_wqe - 1)) { in bnxt_qplib_cq_process_res_raweth_qp1()
3269 wr_id_idx, rq->max_wqe); in bnxt_qplib_cq_process_res_raweth_qp1()
3332 cqe_cons %= sq->max_wqe; in bnxt_qplib_cq_process_terminal()
3382 } else if (cqe_cons > (rq->max_wqe - 1)) { in bnxt_qplib_cq_process_terminal()