max_gs 430 drivers/infiniband/hw/hns/hns_roce_device.h int max_gs; max_gs 527 drivers/infiniband/hw/hns/hns_roce_device.h int max_gs; max_gs 101 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (unlikely(wr->num_sge > qp->sq.max_gs)) { max_gs 103 drivers/infiniband/hw/hns/hns_roce_hw_v1.c wr->num_sge, qp->sq.max_gs); max_gs 375 drivers/infiniband/hw/hns/hns_roce_hw_v1.c if (unlikely(wr->num_sge > hr_qp->rq.max_gs)) { max_gs 377 drivers/infiniband/hw/hns/hns_roce_hw_v1.c wr->num_sge, hr_qp->rq.max_gs); max_gs 3437 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_recv_sge = hr_qp->rq.max_gs; max_gs 3439 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_send_sge = hr_qp->sq.max_gs; max_gs 3573 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_recv_sge = hr_qp->rq.max_gs; max_gs 3577 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_send_sge = hr_qp->sq.max_gs; max_gs 288 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (unlikely(wr->num_sge > qp->sq.max_gs)) { max_gs 290 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wr->num_sge, qp->sq.max_gs); max_gs 653 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (unlikely(wr->num_sge > hr_qp->rq.max_gs)) { max_gs 655 drivers/infiniband/hw/hns/hns_roce_hw_v2.c wr->num_sge, hr_qp->rq.max_gs); max_gs 670 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (i < hr_qp->rq.max_gs) { max_gs 3232 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->sq.max_gs > max_gs 3287 drivers/infiniband/hw/hns/hns_roce_hw_v2.c V2_QPC_BYTE_20_RQWS_S, ilog2(hr_qp->rq.max_gs)); max_gs 3744 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->sq.max_gs > HNS_ROCE_V2_UC_RC_SGE_NUM_IN_WQE) ? max_gs 3968 drivers/infiniband/hw/hns/hns_roce_hw_v2.c hr_qp->sq.max_gs > HNS_ROCE_V2_UC_RC_SGE_NUM_IN_WQE) ? max_gs 3974 drivers/infiniband/hw/hns/hns_roce_hw_v2.c ((ibqp->qp_type == IB_QPT_GSI) || hr_qp->sq.max_gs > max_gs 4632 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->cap.max_recv_sge = hr_qp->rq.max_gs; max_gs 4636 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->cap.max_send_sge = hr_qp->sq.max_gs; max_gs 6069 drivers/infiniband/hw/hns/hns_roce_hw_v2.c SRQC_BYTE_28_RQWS_S, srq->max_gs <= 0 ? 0 : max_gs 6070 drivers/infiniband/hw/hns/hns_roce_hw_v2.c fls(srq->max_gs - 1)); max_gs 6195 drivers/infiniband/hw/hns/hns_roce_hw_v2.c attr->max_sge = srq->max_gs; max_gs 6250 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (unlikely(wr->num_sge > srq->max_gs)) { max_gs 6279 drivers/infiniband/hw/hns/hns_roce_hw_v2.c if (i < srq->max_gs) { max_gs 289 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->rq.max_gs = 0; max_gs 311 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->rq.max_gs = roundup_pow_of_two(max_cnt); max_gs 318 drivers/infiniband/hw/hns/hns_roce_qp.c * hr_qp->rq.max_gs); max_gs 322 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_recv_sge = hr_qp->rq.max_gs; max_gs 374 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.max_gs = roundup_pow_of_two(max_cnt); max_gs 376 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.max_gs = max_cnt; max_gs 378 drivers/infiniband/hw/hns/hns_roce_qp.c if (hr_qp->sq.max_gs > 2) max_gs 380 drivers/infiniband/hw/hns/hns_roce_qp.c (hr_qp->sq.max_gs - 2)); max_gs 382 drivers/infiniband/hw/hns/hns_roce_qp.c if ((hr_qp->sq.max_gs > 2) && (hr_dev->pci_dev->revision == 0x20)) { max_gs 526 drivers/infiniband/hw/hns/hns_roce_qp.c if (hr_qp->sq.max_gs > 2) { max_gs 528 drivers/infiniband/hw/hns/hns_roce_qp.c (hr_qp->sq.max_gs - 2)); max_gs 535 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.max_gs); max_gs 539 drivers/infiniband/hw/hns/hns_roce_qp.c if ((hr_qp->sq.max_gs > 2) && hr_dev->pci_dev->revision == 0x20) { max_gs 583 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.max_gs = roundup_pow_of_two(max_cnt); max_gs 585 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->sq.max_gs = max_cnt; max_gs 614 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_send_sge = hr_qp->sq.max_gs; max_gs 381 drivers/infiniband/hw/hns/hns_roce_srq.c srq->max_gs = srq_init_attr->attr.max_sge; max_gs 383 drivers/infiniband/hw/hns/hns_roce_srq.c srq_desc_size = roundup_pow_of_two(max(16, 16 * srq->max_gs)); max_gs 172 drivers/infiniband/hw/mlx4/mlx4_ib.h int max_gs; max_gs 340 drivers/infiniband/hw/mlx4/qp.c qp->rq.wqe_cnt = qp->rq.max_gs = 0; max_gs 352 drivers/infiniband/hw/mlx4/qp.c qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge)); max_gs 353 drivers/infiniband/hw/mlx4/qp.c wqe_size = qp->rq.max_gs * sizeof(struct mlx4_wqe_data_seg); max_gs 360 drivers/infiniband/hw/mlx4/qp.c cap->max_recv_sge = qp->rq.max_gs; max_gs 364 drivers/infiniband/hw/mlx4/qp.c cap->max_recv_sge = min(qp->rq.max_gs, max_gs 410 drivers/infiniband/hw/mlx4/qp.c qp->sq.max_gs = max_gs 428 drivers/infiniband/hw/mlx4/qp.c cap->max_send_sge = min(qp->sq.max_gs, max_gs 3501 drivers/infiniband/hw/mlx4/qp.c wr->wr.num_sge > qp->sq.max_gs - (halign >> 4))) max_gs 3593 drivers/infiniband/hw/mlx4/qp.c if (unlikely(wr->num_sge > qp->sq.max_gs)) { max_gs 3864 drivers/infiniband/hw/mlx4/qp.c int max_gs; max_gs 3868 drivers/infiniband/hw/mlx4/qp.c max_gs = qp->rq.max_gs; max_gs 3888 drivers/infiniband/hw/mlx4/qp.c if (unlikely(wr->num_sge > qp->rq.max_gs)) { max_gs 3908 drivers/infiniband/hw/mlx4/qp.c max_gs--; max_gs 3914 drivers/infiniband/hw/mlx4/qp.c if (i < max_gs) { max_gs 4092 drivers/infiniband/hw/mlx4/qp.c qp_attr->cap.max_recv_sge = qp->rq.max_gs; max_gs 4096 drivers/infiniband/hw/mlx4/qp.c qp_attr->cap.max_send_sge = qp->sq.max_gs; max_gs 97 drivers/infiniband/hw/mlx4/srq.c srq->msrq.max_gs = init_attr->attr.max_sge; max_gs 101 drivers/infiniband/hw/mlx4/srq.c srq->msrq.max_gs * max_gs 257 drivers/infiniband/hw/mlx4/srq.c srq_attr->max_sge = srq->msrq.max_gs; max_gs 321 drivers/infiniband/hw/mlx4/srq.c if (unlikely(wr->num_sge > srq->msrq.max_gs)) { max_gs 345 drivers/infiniband/hw/mlx4/srq.c if (i < srq->msrq.max_gs) { max_gs 280 drivers/infiniband/hw/mlx5/mlx5_ib.h int max_gs; max_gs 341 drivers/infiniband/hw/mlx5/qp.c qp->rq.max_gs = 0; max_gs 354 drivers/infiniband/hw/mlx5/qp.c qp->rq.max_gs = (1 << qp->rq.wqe_shift) / sizeof(struct mlx5_wqe_data_seg) - qp->wq_sig; max_gs 371 drivers/infiniband/hw/mlx5/qp.c qp->rq.max_gs = (1 << qp->rq.wqe_shift) / sizeof(struct mlx5_wqe_data_seg) - qp->wq_sig; max_gs 510 drivers/infiniband/hw/mlx5/qp.c qp->sq.max_gs = get_send_sge(attr, wqe_size); max_gs 511 drivers/infiniband/hw/mlx5/qp.c if (qp->sq.max_gs < attr->cap.max_send_sge) max_gs 514 drivers/infiniband/hw/mlx5/qp.c attr->cap.max_send_sge = qp->sq.max_gs; max_gs 5011 drivers/infiniband/hw/mlx5/qp.c if (unlikely(num_sge > qp->sq.max_gs)) { max_gs 5389 drivers/infiniband/hw/mlx5/qp.c if (unlikely(wr->num_sge > qp->rq.max_gs)) { max_gs 5402 drivers/infiniband/hw/mlx5/qp.c if (i < qp->rq.max_gs) { max_gs 5410 drivers/infiniband/hw/mlx5/qp.c set_sig_seg(sig, (qp->rq.max_gs + 1) << 2); max_gs 5798 drivers/infiniband/hw/mlx5/qp.c qp_attr->cap.max_recv_sge = qp->rq.max_gs; max_gs 5802 drivers/infiniband/hw/mlx5/qp.c qp_attr->cap.max_send_sge = qp->sq.max_gs; max_gs 240 drivers/infiniband/hw/mlx5/srq.c srq->msrq.max_gs = init_attr->attr.max_sge; max_gs 243 drivers/infiniband/hw/mlx5/srq.c srq->msrq.max_gs * sizeof(struct mlx5_wqe_data_seg); max_gs 244 drivers/infiniband/hw/mlx5/srq.c if (desc_size == 0 || srq->msrq.max_gs > desc_size) max_gs 379 drivers/infiniband/hw/mlx5/srq.c srq_attr->max_sge = srq->msrq.max_gs; max_gs 442 drivers/infiniband/hw/mlx5/srq.c if (unlikely(wr->num_sge > srq->msrq.max_gs)) { max_gs 44 drivers/infiniband/hw/mlx5/srq.h size_t max_gs; max_gs 574 drivers/infiniband/hw/mthca/mthca_provider.c init_attr->cap.max_send_sge = qp->sq.max_gs; max_gs 575 drivers/infiniband/hw/mthca/mthca_provider.c init_attr->cap.max_recv_sge = qp->rq.max_gs; max_gs 228 drivers/infiniband/hw/mthca/mthca_provider.h int max_gs; max_gs 254 drivers/infiniband/hw/mthca/mthca_provider.h int max_gs; max_gs 507 drivers/infiniband/hw/mthca/mthca_qp.c qp_attr->cap.max_send_sge = qp->sq.max_gs; max_gs 508 drivers/infiniband/hw/mthca/mthca_qp.c qp_attr->cap.max_recv_sge = qp->rq.max_gs; max_gs 972 drivers/infiniband/hw/mthca/mthca_qp.c qp->sq.max_gs = min_t(int, dev->limits.max_sg, max_gs 974 drivers/infiniband/hw/mthca/mthca_qp.c qp->rq.max_gs = min_t(int, dev->limits.max_sg, max_gs 996 drivers/infiniband/hw/mthca/mthca_qp.c qp->rq.max_gs * sizeof (struct mthca_data_seg); max_gs 1005 drivers/infiniband/hw/mthca/mthca_qp.c size = qp->sq.max_gs * sizeof (struct mthca_data_seg); max_gs 1214 drivers/infiniband/hw/mthca/mthca_qp.c qp->rq.max_gs * sizeof (struct mthca_data_seg)) / 16; max_gs 1279 drivers/infiniband/hw/mthca/mthca_qp.c qp->rq.max_gs = cap->max_recv_sge; max_gs 1280 drivers/infiniband/hw/mthca/mthca_qp.c qp->sq.max_gs = max_t(int, cap->max_send_sge, max_gs 1750 drivers/infiniband/hw/mthca/mthca_qp.c if (wr->num_sge > qp->sq.max_gs) { max_gs 1871 drivers/infiniband/hw/mthca/mthca_qp.c if (unlikely(wr->num_sge > qp->rq.max_gs)) { max_gs 2080 drivers/infiniband/hw/mthca/mthca_qp.c if (wr->num_sge > qp->sq.max_gs) { max_gs 2195 drivers/infiniband/hw/mthca/mthca_qp.c if (unlikely(wr->num_sge > qp->rq.max_gs)) { max_gs 2206 drivers/infiniband/hw/mthca/mthca_qp.c if (i < qp->rq.max_gs) max_gs 220 drivers/infiniband/hw/mthca/mthca_srq.c srq->max_gs = attr->max_sge; max_gs 230 drivers/infiniband/hw/mthca/mthca_srq.c srq->max_gs * sizeof (struct mthca_data_seg))); max_gs 298 drivers/infiniband/hw/mthca/mthca_srq.c attr->max_sge = srq->max_gs; max_gs 422 drivers/infiniband/hw/mthca/mthca_srq.c srq_attr->max_sge = srq->max_gs; max_gs 522 drivers/infiniband/hw/mthca/mthca_srq.c if (unlikely(wr->num_sge > srq->max_gs)) { max_gs 534 drivers/infiniband/hw/mthca/mthca_srq.c if (i < srq->max_gs) max_gs 609 drivers/infiniband/hw/mthca/mthca_srq.c if (unlikely(wr->num_sge > srq->max_gs)) { max_gs 620 drivers/infiniband/hw/mthca/mthca_srq.c if (i < srq->max_gs) max_gs 171 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h int max_gs; max_gs 780 include/linux/mlx4/device.h int max_gs;