Lines Matching refs:max_gs
340 qp->rq.wqe_cnt = qp->rq.max_gs = 0; in set_rq_size()
352 qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge)); in set_rq_size()
353 wqe_size = qp->rq.max_gs * sizeof(struct mlx4_wqe_data_seg); in set_rq_size()
360 cap->max_recv_sge = qp->rq.max_gs; in set_rq_size()
364 cap->max_recv_sge = min(qp->rq.max_gs, in set_rq_size()
410 qp->sq.max_gs = in set_kernel_sq_size()
428 cap->max_send_sge = min(qp->sq.max_gs, in set_kernel_sq_size()
3493 wr->wr.num_sge > qp->sq.max_gs - (halign >> 4))) in build_lso_seg()
3585 if (unlikely(wr->num_sge > qp->sq.max_gs)) { in _mlx4_ib_post_send()
3856 int max_gs; in _mlx4_ib_post_recv() local
3860 max_gs = qp->rq.max_gs; in _mlx4_ib_post_recv()
3880 if (unlikely(wr->num_sge > qp->rq.max_gs)) { in _mlx4_ib_post_recv()
3900 max_gs--; in _mlx4_ib_post_recv()
3906 if (i < max_gs) { in _mlx4_ib_post_recv()
4084 qp_attr->cap.max_recv_sge = qp->rq.max_gs; in mlx4_ib_query_qp()
4088 qp_attr->cap.max_send_sge = qp->sq.max_gs; in mlx4_ib_query_qp()