Lines Matching refs:max_wqe
922 bytes = (qplib_qp->sq.max_wqe * qplib_qp->sq.wqe_size); in bnxt_re_init_user_qp()
929 qplib_qp->sq.max_wqe : in bnxt_re_init_user_qp()
930 ((qplib_qp->sq.max_wqe * qplib_qp->sq.wqe_size) / in bnxt_re_init_user_qp()
948 bytes = (qplib_qp->rq.max_wqe * qplib_qp->rq.wqe_size); in bnxt_re_init_user_qp()
1044 qp->qplib_qp.sq.max_wqe = qp1_qp->rq.max_wqe; in bnxt_re_create_shadow_qp()
1055 qp->qplib_qp.rq.max_wqe = qp1_qp->rq.max_wqe; in bnxt_re_create_shadow_qp()
1103 rq->max_wqe = 0; in bnxt_re_init_rq_attr()
1115 rq->max_wqe = min_t(u32, entries, dev_attr->max_qp_wqes + 1); in bnxt_re_init_rq_attr()
1174 sq->max_wqe = min_t(u32, entries, dev_attr->max_qp_wqes + diff + 1); in bnxt_re_init_sq_attr()
1202 qplqp->sq.max_wqe = min_t(u32, entries, in bnxt_re_adjust_gsi_sq_attr()
1204 qplqp->sq.q_full_delta = qplqp->sq.max_wqe - in bnxt_re_adjust_gsi_sq_attr()
1582 bytes = (qplib_srq->max_wqe * qplib_srq->wqe_size); in bnxt_re_init_user_srq()
1637 srq->qplib_srq.max_wqe = entries; in bnxt_re_create_srq()
1699 if (srq_attr->srq_limit > srq->qplib_srq.max_wqe) in bnxt_re_modify_srq()
1735 srq_attr->max_wr = srq->qplib_srq.max_wqe; in bnxt_re_query_srq()
2007 qp->qplib_qp.sq.max_wqe = min_t(u32, entries, in bnxt_re_modify_qp()
2009 qp->qplib_qp.sq.q_full_delta = qp->qplib_qp.sq.max_wqe - in bnxt_re_modify_qp()
2018 if (qp->qplib_qp.rq.max_wqe) { in bnxt_re_modify_qp()
2020 qp->qplib_qp.rq.max_wqe = in bnxt_re_modify_qp()
2022 qp->qplib_qp.rq.q_full_delta = qp->qplib_qp.rq.max_wqe - in bnxt_re_modify_qp()
2091 qp_attr->cap.max_send_wr = qp->qplib_qp.sq.max_wqe; in bnxt_re_query_qp()
2093 qp_attr->cap.max_recv_wr = qp->qplib_qp.rq.max_wqe; in bnxt_re_query_qp()
2868 cq->qplib_cq.max_wqe = entries; in bnxt_re_create_cq()