Lines Matching refs:max_wqe
1023 bytes = (qplib_qp->sq.max_wqe * qplib_qp->sq.wqe_size); in bnxt_re_init_user_qp()
1030 qplib_qp->sq.max_wqe : in bnxt_re_init_user_qp()
1031 ((qplib_qp->sq.max_wqe * qplib_qp->sq.wqe_size) / in bnxt_re_init_user_qp()
1049 bytes = (qplib_qp->rq.max_wqe * qplib_qp->rq.wqe_size); in bnxt_re_init_user_qp()
1146 qp->qplib_qp.sq.max_wqe = qp1_qp->rq.max_wqe; in bnxt_re_create_shadow_qp()
1157 qp->qplib_qp.rq.max_wqe = qp1_qp->rq.max_wqe; in bnxt_re_create_shadow_qp()
1205 rq->max_wqe = 0; in bnxt_re_init_rq_attr()
1217 rq->max_wqe = min_t(u32, entries, dev_attr->max_qp_wqes + 1); in bnxt_re_init_rq_attr()
1276 sq->max_wqe = min_t(u32, entries, dev_attr->max_qp_wqes + diff + 1); in bnxt_re_init_sq_attr()
1304 qplqp->sq.max_wqe = min_t(u32, entries, in bnxt_re_adjust_gsi_sq_attr()
1306 qplqp->sq.q_full_delta = qplqp->sq.max_wqe - in bnxt_re_adjust_gsi_sq_attr()
1695 bytes = (qplib_srq->max_wqe * qplib_srq->wqe_size); in bnxt_re_init_user_srq()
1751 srq->qplib_srq.max_wqe = entries; in bnxt_re_create_srq()
1815 if (srq_attr->srq_limit > srq->qplib_srq.max_wqe) in bnxt_re_modify_srq()
1851 srq_attr->max_wr = srq->qplib_srq.max_wqe; in bnxt_re_query_srq()
2123 qp->qplib_qp.sq.max_wqe = min_t(u32, entries, in bnxt_re_modify_qp()
2125 qp->qplib_qp.sq.q_full_delta = qp->qplib_qp.sq.max_wqe - in bnxt_re_modify_qp()
2134 if (qp->qplib_qp.rq.max_wqe) { in bnxt_re_modify_qp()
2136 qp->qplib_qp.rq.max_wqe = in bnxt_re_modify_qp()
2138 qp->qplib_qp.rq.q_full_delta = qp->qplib_qp.rq.max_wqe - in bnxt_re_modify_qp()
2207 qp_attr->cap.max_send_wr = qp->qplib_qp.sq.max_wqe; in bnxt_re_query_qp()
2209 qp_attr->cap.max_recv_wr = qp->qplib_qp.rq.max_wqe; in bnxt_re_query_qp()
2985 cq->qplib_cq.max_wqe = entries; in bnxt_re_create_cq()
3034 cq->qplib_cq.max_wqe = cq->resize_cqe; in bnxt_re_resize_cq_complete()