Lines Matching refs:max_sge
889 sq->wqe_size = bnxt_re_get_wqe_size(ilsize, sq->max_sge); in bnxt_re_setup_swqe_size()
904 sq->max_sge = qplqp->max_inline_data / in bnxt_re_setup_swqe_size()
1051 qp->qplib_qp.sq.max_sge = 2; in bnxt_re_create_shadow_qp()
1062 qp->qplib_qp.rq.max_sge = qp1_qp->rq.max_sge; in bnxt_re_create_shadow_qp()
1111 rq->max_sge = init_attr->cap.max_recv_sge; in bnxt_re_init_rq_attr()
1112 if (rq->max_sge > dev_attr->max_qp_sges) in bnxt_re_init_rq_attr()
1113 rq->max_sge = dev_attr->max_qp_sges; in bnxt_re_init_rq_attr()
1114 init_attr->cap.max_recv_sge = rq->max_sge; in bnxt_re_init_rq_attr()
1115 rq->wqe_size = bnxt_re_setup_rwqe_size(qplqp, rq->max_sge, in bnxt_re_init_rq_attr()
1141 qplqp->rq.max_sge = dev_attr->max_qp_sges; in bnxt_re_adjust_gsi_rq_attr()
1142 if (qplqp->rq.max_sge > dev_attr->max_qp_sges) in bnxt_re_adjust_gsi_rq_attr()
1143 qplqp->rq.max_sge = dev_attr->max_qp_sges; in bnxt_re_adjust_gsi_rq_attr()
1144 qplqp->rq.max_sge = 6; in bnxt_re_adjust_gsi_rq_attr()
1165 sq->max_sge = init_attr->cap.max_send_sge; in bnxt_re_init_sq_attr()
1166 if (sq->max_sge > dev_attr->max_qp_sges) { in bnxt_re_init_sq_attr()
1167 sq->max_sge = dev_attr->max_qp_sges; in bnxt_re_init_sq_attr()
1168 init_attr->cap.max_send_sge = sq->max_sge; in bnxt_re_init_sq_attr()
1212 qplqp->sq.max_sge++; /* Need one extra sge to put UD header */ in bnxt_re_adjust_gsi_sq_attr()
1213 if (qplqp->sq.max_sge > dev_attr->max_qp_sges) in bnxt_re_adjust_gsi_sq_attr()
1214 qplqp->sq.max_sge = dev_attr->max_qp_sges; in bnxt_re_adjust_gsi_sq_attr()
1645 srq->qplib_srq.max_sge = srq_init_attr->attr.max_sge; in bnxt_re_create_srq()
1742 srq_attr->max_sge = srq->qplib_srq.max_sge; in bnxt_re_query_srq()
2023 qp->qplib_qp.sq.max_sge = qp_attr->cap.max_send_sge; in bnxt_re_modify_qp()
2030 qp->qplib_qp.rq.max_sge = qp_attr->cap.max_recv_sge; in bnxt_re_modify_qp()
2098 qp_attr->cap.max_send_sge = qp->qplib_qp.sq.max_sge; in bnxt_re_query_qp()
2100 qp_attr->cap.max_recv_sge = qp->qplib_qp.rq.max_sge; in bnxt_re_query_qp()
2567 if (wr->num_sge > qp->qplib_qp.sq.max_sge) { in bnxt_re_post_send_shadow_qp()
2616 if (wr->num_sge > qp->qplib_qp.sq.max_sge) { in bnxt_re_post_send()
2713 if (wr->num_sge > qp->qplib_qp.rq.max_sge) { in bnxt_re_post_recv_shadow_qp()
2750 if (wr->num_sge > qp->qplib_qp.rq.max_sge) { in bnxt_re_post_recv()