Lines Matching refs:max_sge

1265 	srq->qplib_srq.max_sge = srq_init_attr->attr.max_sge;  in bnxt_re_create_srq()
1368 srq_attr->max_sge = srq->qplib_srq.max_sge; in bnxt_re_query_srq()
1616 sq->wqe_size = bnxt_re_get_swqe_size(ilsize, sq->max_sge); in bnxt_re_setup_swqe_size()
1631 sq->max_sge = qplqp->max_inline_data / in bnxt_re_setup_swqe_size()
1860 qp->qplib_qp.sq.max_sge = 2; in bnxt_re_create_shadow_qp()
1871 qp->qplib_qp.rq.max_sge = qp1_qp->rq.max_sge; in bnxt_re_create_shadow_qp()
1931 rq->max_sge = init_attr->cap.max_recv_sge; in bnxt_re_init_rq_attr()
1932 if (rq->max_sge > dev_attr->max_qp_sges) in bnxt_re_init_rq_attr()
1933 rq->max_sge = dev_attr->max_qp_sges; in bnxt_re_init_rq_attr()
1934 init_attr->cap.max_recv_sge = rq->max_sge; in bnxt_re_init_rq_attr()
1935 rq->wqe_size = bnxt_re_get_rwqe_size(qplqp, rq->max_sge, in bnxt_re_init_rq_attr()
1962 qplqp->rq.max_sge = dev_attr->max_qp_sges; in bnxt_re_adjust_gsi_rq_attr()
1982 sq->max_sge = init_attr->cap.max_send_sge; in bnxt_re_init_sq_attr()
1983 if (sq->max_sge > dev_attr->max_qp_sges) { in bnxt_re_init_sq_attr()
1984 sq->max_sge = dev_attr->max_qp_sges; in bnxt_re_init_sq_attr()
1985 init_attr->cap.max_send_sge = sq->max_sge; in bnxt_re_init_sq_attr()
2043 qplqp->sq.max_sge++; /* Need one extra sge to put UD header */ in bnxt_re_adjust_gsi_sq_attr()
2044 if (qplqp->sq.max_sge > dev_attr->max_qp_sges) in bnxt_re_adjust_gsi_sq_attr()
2045 qplqp->sq.max_sge = dev_attr->max_qp_sges; in bnxt_re_adjust_gsi_sq_attr()
2791 qp->qplib_qp.sq.max_sge = qp_attr->cap.max_send_sge; in bnxt_re_modify_qp()
2799 qp->qplib_qp.rq.max_sge = qp_attr->cap.max_recv_sge; in bnxt_re_modify_qp()
2893 qp_attr->cap.max_send_sge = qp->qplib_qp.sq.max_sge; in bnxt_re_query_qp()
2895 qp_attr->cap.max_recv_sge = qp->qplib_qp.rq.max_sge; in bnxt_re_query_qp()
3412 if (wr->num_sge > qp->qplib_qp.sq.max_sge) { in bnxt_re_post_send_shadow_qp()
3469 if (wr->num_sge > qp->qplib_qp.sq.max_sge) { in bnxt_re_post_send()
3566 if (wr->num_sge > qp->qplib_qp.rq.max_sge) { in bnxt_re_post_recv_shadow_qp()
3618 if (wr->num_sge > qp->qplib_qp.rq.max_sge) { in bnxt_re_post_recv()