max_recv_sge 3160 drivers/infiniband/core/mad.c qp_init_attr.cap.max_recv_sge = IB_MAD_RECV_REQ_MAX_SG; max_recv_sge 325 drivers/infiniband/core/uverbs_cmd.c resp->max_sge = min(attr->max_send_sge, attr->max_recv_sge); max_recv_sge 1310 drivers/infiniband/core/uverbs_cmd.c if (ind_tbl && (cmd->max_recv_wr || cmd->max_recv_sge || cmd->is_srq)) { max_recv_sge 1336 drivers/infiniband/core/uverbs_cmd.c cmd->max_recv_sge = 0; max_recv_sge 1389 drivers/infiniband/core/uverbs_cmd.c attr.cap.max_recv_sge = cmd->max_recv_sge; max_recv_sge 1453 drivers/infiniband/core/uverbs_cmd.c resp.base.max_recv_sge = attr.cap.max_recv_sge; max_recv_sge 1523 drivers/infiniband/core/uverbs_cmd.c cmd_ex.max_recv_sge = cmd.max_recv_sge; max_recv_sge 1710 drivers/infiniband/core/uverbs_cmd.c resp.max_recv_sge = init_attr->cap.max_recv_sge; max_recv_sge 113 drivers/infiniband/core/uverbs_marshall.c dst->max_recv_sge = src->cap.max_recv_sge; max_recv_sge 1159 drivers/infiniband/core/verbs.c qp_init_attr->cap.max_recv_sge)) max_recv_sge 156 drivers/infiniband/hw/bnxt_re/ib_verbs.c ib_attr->max_recv_sge = dev_attr->max_qp_sges; max_recv_sge 1016 drivers/infiniband/hw/bnxt_re/ib_verbs.c (qp_init_attr->cap.max_recv_sge > dev_attr->max_qp_sges) || max_recv_sge 1093 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.rq.max_sge = qp_init_attr->cap.max_recv_sge; max_recv_sge 1730 drivers/infiniband/hw/bnxt_re/ib_verbs.c (qp_attr->cap.max_recv_sge >= dev_attr->max_qp_sges) || max_recv_sge 1755 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.rq.max_sge = qp_attr->cap.max_recv_sge; max_recv_sge 1824 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp_attr->cap.max_recv_sge = qp->qplib_qp.rq.max_sge; max_recv_sge 776 drivers/infiniband/hw/cxgb3/iwch_provider.c qhp->attr.rq_max_sges = attrs->cap.max_recv_sge; max_recv_sge 977 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_recv_sge = dev->attr.max_sge_per_wr; max_recv_sge 287 drivers/infiniband/hw/cxgb4/provider.c props->max_recv_sge = T4_MAX_RECV_SGE; max_recv_sge 2204 drivers/infiniband/hw/cxgb4/qp.c qhp->attr.rq_max_sges = attrs->cap.max_recv_sge; max_recv_sge 2474 drivers/infiniband/hw/cxgb4/qp.c init_attr->cap.max_recv_sge = qhp->attr.sq_max_sges; max_recv_sge 108 drivers/infiniband/hw/efa/efa.h u32 max_recv_sge; max_recv_sge 308 drivers/infiniband/hw/efa/efa_verbs.c props->max_recv_sge = dev_attr->max_rq_sge; max_recv_sge 387 drivers/infiniband/hw/efa/efa_verbs.c qp_attr->cap.max_recv_sge = qp->max_recv_sge; max_recv_sge 588 drivers/infiniband/hw/efa/efa_verbs.c if (init_attr->cap.max_recv_sge > dev->dev_attr.max_rq_sge) { max_recv_sge 591 drivers/infiniband/hw/efa/efa_verbs.c init_attr->cap.max_recv_sge, dev->dev_attr.max_rq_sge); max_recv_sge 752 drivers/infiniband/hw/efa/efa_verbs.c qp->max_recv_sge = init_attr->cap.max_recv_sge; max_recv_sge 1358 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_recv_sge = hfi1_max_sges; max_recv_sge 3437 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_recv_sge = hr_qp->rq.max_gs; max_recv_sge 3573 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_recv_sge = hr_qp->rq.max_gs; max_recv_sge 4632 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->cap.max_recv_sge = hr_qp->rq.max_gs; max_recv_sge 200 drivers/infiniband/hw/hns/hns_roce_main.c props->max_recv_sge = hr_dev->caps.max_rq_sg; max_recv_sge 280 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_recv_sge > hr_dev->caps.max_rq_sg) { max_recv_sge 282 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_recv_wr, cap->max_recv_sge); max_recv_sge 291 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_recv_sge = 0; max_recv_sge 293 drivers/infiniband/hw/hns/hns_roce_qp.c if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge)) { max_recv_sge 310 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = max(1U, cap->max_recv_sge); max_recv_sge 322 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_recv_sge = hr_qp->rq.max_gs; max_recv_sge 643 drivers/infiniband/hw/hns/hns_roce_qp.c u32 max_recv_sge = init_attr->cap.max_recv_sge; max_recv_sge 656 drivers/infiniband/hw/hns/hns_roce_qp.c wqe_list[0].sg_list = kcalloc(wqe_cnt, (max_recv_sge * max_recv_sge 664 drivers/infiniband/hw/hns/hns_roce_qp.c wqe_list[i].sg_list = &wqe_list[0].sg_list[i * max_recv_sge]; max_recv_sge 76 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_recv_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; max_recv_sge 557 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (init_attr->cap.max_recv_sge > I40IW_MAX_WQ_FRAGMENT_COUNT) max_recv_sge 558 drivers/infiniband/hw/i40iw/i40iw_verbs.c init_attr->cap.max_recv_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; max_recv_sge 569 drivers/infiniband/hw/i40iw/i40iw_verbs.c init_info.qp_uk_init_info.max_rq_frag_cnt = init_attr->cap.max_recv_sge; max_recv_sge 771 drivers/infiniband/hw/i40iw/i40iw_verbs.c attr->cap.max_recv_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; max_recv_sge 1817 drivers/infiniband/hw/mlx4/mad.c qp_init_attr.init_attr.cap.max_recv_sge = 1; max_recv_sge 534 drivers/infiniband/hw/mlx4/main.c props->max_recv_sge = max_recv_sge 333 drivers/infiniband/hw/mlx4/qp.c cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg)) max_recv_sge 347 drivers/infiniband/hw/mlx4/qp.c if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge || max_recv_sge 352 drivers/infiniband/hw/mlx4/qp.c qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge)); max_recv_sge 360 drivers/infiniband/hw/mlx4/qp.c cap->max_recv_sge = qp->rq.max_gs; max_recv_sge 364 drivers/infiniband/hw/mlx4/qp.c cap->max_recv_sge = min(qp->rq.max_gs, max_recv_sge 1022 drivers/infiniband/hw/mlx4/qp.c init_attr->cap.max_recv_sge++; max_recv_sge 4092 drivers/infiniband/hw/mlx4/qp.c qp_attr->cap.max_recv_sge = qp->rq.max_gs; max_recv_sge 4181 drivers/infiniband/hw/mlx4/qp.c ib_qp_init_attr.cap.max_recv_sge = init_attr->max_sge; max_recv_sge 998 drivers/infiniband/hw/mlx5/main.c props->max_recv_sge = max_rq_sg; max_recv_sge 345 drivers/infiniband/hw/mlx5/qp.c cap->max_recv_sge = 0; max_recv_sge 358 drivers/infiniband/hw/mlx5/qp.c wqe_size += cap->max_recv_sge * sizeof(struct mlx5_wqe_data_seg); max_recv_sge 2674 drivers/infiniband/hw/mlx5/qp.c init_attr->cap.max_recv_sge) { max_recv_sge 5798 drivers/infiniband/hw/mlx5/qp.c qp_attr->cap.max_recv_sge = qp->rq.max_gs; max_recv_sge 101 drivers/infiniband/hw/mthca/mthca_provider.c props->max_recv_sge = mdev->limits.max_sg; max_recv_sge 575 drivers/infiniband/hw/mthca/mthca_provider.c init_attr->cap.max_recv_sge = qp->rq.max_gs; max_recv_sge 508 drivers/infiniband/hw/mthca/mthca_qp.c qp_attr->cap.max_recv_sge = qp->rq.max_gs; max_recv_sge 1258 drivers/infiniband/hw/mthca/mthca_qp.c cap->max_recv_sge > dev->limits.max_sg || max_recv_sge 1279 drivers/infiniband/hw/mthca/mthca_qp.c qp->rq.max_gs = cap->max_recv_sge; max_recv_sge 94 drivers/infiniband/hw/ocrdma/ocrdma.h int max_recv_sge; max_recv_sge 1165 drivers/infiniband/hw/ocrdma/ocrdma_hw.c attr->max_recv_sge = (rsp->max_recv_send_sge & max_recv_sge 2271 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cmd->max_sge_recv_flags |= (attrs->cap.max_recv_sge << max_recv_sge 94 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c attr->max_recv_sge = dev->attr.max_recv_sge; max_recv_sge 1152 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (attrs->cap.max_recv_sge > dev->attr.max_recv_sge) { max_recv_sge 1154 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c __func__, dev->id, attrs->cap.max_recv_sge); max_recv_sge 1156 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c __func__, dev->id, dev->attr.max_recv_sge); max_recv_sge 1291 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp->rq.max_sges = attrs->cap.max_recv_sge; max_recv_sge 1500 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp_attr->cap.max_recv_sge = qp->rq.max_sges; max_recv_sge 1788 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (init_attr->attr.max_sge > dev->attr.max_recv_sge) max_recv_sge 156 drivers/infiniband/hw/qedr/qedr_roce_cm.c if (attrs->cap.max_recv_sge > QEDR_GSI_MAX_RECV_SGE) { max_recv_sge 159 drivers/infiniband/hw/qedr/qedr_roce_cm.c attrs->cap.max_recv_sge, QEDR_GSI_MAX_RECV_SGE); max_recv_sge 135 drivers/infiniband/hw/qedr/verbs.c attr->max_recv_sge = qattr->max_sge; max_recv_sge 1106 drivers/infiniband/hw/qedr/verbs.c if (attrs->cap.max_recv_sge > qattr->max_sge) { max_recv_sge 1109 drivers/infiniband/hw/qedr/verbs.c attrs->cap.max_recv_sge, qattr->max_sge); max_recv_sge 1214 drivers/infiniband/hw/qedr/verbs.c qp->rq.max_sges = attrs->cap.max_recv_sge; max_recv_sge 2407 drivers/infiniband/hw/qedr/verbs.c qp_attr->cap.max_recv_sge = qp->rq.max_sges; max_recv_sge 1459 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_recv_sge = ib_qib_max_sges; max_recv_sge 561 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 max_recv_sge; max_recv_sge 580 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 max_recv_sge; max_recv_sge 230 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c dst->max_recv_sge = src->max_recv_sge; max_recv_sge 239 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c dst->max_recv_sge = src->max_recv_sge; max_recv_sge 132 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c req_cap->max_recv_sge > dev->dsr->caps.max_sge) { max_recv_sge 138 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->rq.max_sg = roundup_pow_of_two(max(1U, req_cap->max_recv_sge)); max_recv_sge 142 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c req_cap->max_recv_sge = qp->rq.max_sg; max_recv_sge 359 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cmd->max_recv_sge = init_attr->cap.max_recv_sge; max_recv_sge 372 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cmd->max_recv_sge); max_recv_sge 85 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_recv_sge = dev->dsr->caps.max_sge; max_recv_sge 252 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h u32 max_recv_sge; max_recv_sge 1088 drivers/infiniband/sw/rdmavt/qp.c if (init_attr->cap.max_recv_sge > max_recv_sge 1089 drivers/infiniband/sw/rdmavt/qp.c rdi->dparms.props.max_recv_sge || max_recv_sge 1095 drivers/infiniband/sw/rdmavt/qp.c init_attr->cap.max_recv_sge + max_recv_sge 1125 drivers/infiniband/sw/rdmavt/qp.c } else if (init_attr->cap.max_recv_sge > 1) max_recv_sge 1127 drivers/infiniband/sw/rdmavt/qp.c (init_attr->cap.max_recv_sge - 1); max_recv_sge 1167 drivers/infiniband/sw/rdmavt/qp.c qp->r_rq.max_sge = init_attr->cap.max_recv_sge; max_recv_sge 1777 drivers/infiniband/sw/rdmavt/qp.c attr->cap.max_recv_sge = qp->r_rq.max_sge; max_recv_sge 90 drivers/infiniband/sw/rxe/rxe.c rxe->attr.max_recv_sge = RXE_MAX_SGE; max_recv_sge 67 drivers/infiniband/sw/rxe/rxe_qp.c if (cap->max_recv_sge > rxe->attr.max_recv_sge) { max_recv_sge 69 drivers/infiniband/sw/rxe/rxe_qp.c cap->max_recv_sge, rxe->attr.max_recv_sge); max_recv_sge 297 drivers/infiniband/sw/rxe/rxe_qp.c qp->rq.max_sge = init->cap.max_recv_sge; max_recv_sge 400 drivers/infiniband/sw/rxe/rxe_qp.c init->cap.max_recv_sge = qp->rq.max_sge; max_recv_sge 759 drivers/infiniband/sw/rxe/rxe_qp.c attr->cap.max_recv_sge = qp->rq.max_sge; max_recv_sge 180 drivers/infiniband/sw/siw/siw_verbs.c attr->max_recv_sge = sdev->attrs.max_sge; max_recv_sge 336 drivers/infiniband/sw/siw/siw_verbs.c (attrs->cap.max_recv_sge > SIW_MAX_SGE)) { max_recv_sge 445 drivers/infiniband/sw/siw/siw_verbs.c qp->attrs.rq_max_sges = attrs->cap.max_recv_sge; max_recv_sge 539 drivers/infiniband/sw/siw/siw_verbs.c qp_attr->cap.max_recv_sge = qp->attrs.rq_max_sges; max_recv_sge 267 drivers/infiniband/ulp/ipoib/ipoib_cm.c attr.cap.max_recv_sge = IPOIB_CM_RX_SG; max_recv_sge 152 drivers/infiniband/ulp/ipoib/ipoib_verbs.c .max_recv_sge = IPOIB_UD_RX_SG max_recv_sge 397 drivers/infiniband/ulp/iser/iser_verbs.c init_attr.cap.max_recv_sge = 1; max_recv_sge 132 drivers/infiniband/ulp/isert/ib_isert.c attr.cap.max_recv_sge = 1; max_recv_sge 295 drivers/infiniband/ulp/isert/ib_isert.c ib_dev->attrs.max_send_sge, ib_dev->attrs.max_recv_sge); max_recv_sge 585 drivers/infiniband/ulp/srp/ib_srp.c init_attr->cap.max_recv_sge = 1; max_recv_sge 1821 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->cap.max_recv_sge = min(attrs->max_recv_sge, max_recv_sge 1828 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->cap.max_recv_sge = min(attrs->max_recv_sge, max_recv_sge 266 drivers/nvme/host/rdma.c init_attr.cap.max_recv_sge = 1; max_recv_sge 936 drivers/nvme/target/rdma.c cm_id->device->attrs.max_recv_sge) - 1; max_recv_sge 1020 drivers/nvme/target/rdma.c qp_attr.cap.max_recv_sge = 1 + ndev->inline_page_count; max_recv_sge 1650 fs/cifs/smbdirect.c if (info->id->device->attrs.max_recv_sge < SMBDIRECT_MAX_SGE) { max_recv_sge 1653 fs/cifs/smbdirect.c info->id->device->attrs.max_recv_sge); max_recv_sge 1681 fs/cifs/smbdirect.c qp_attr.cap.max_recv_sge = SMBDIRECT_MAX_SGE; max_recv_sge 406 include/rdma/ib_verbs.h int max_recv_sge; max_recv_sge 1048 include/rdma/ib_verbs.h u32 max_recv_sge; max_recv_sge 542 include/uapi/rdma/ib_user_verbs.h __u32 max_recv_sge; max_recv_sge 571 include/uapi/rdma/ib_user_verbs.h __u32 max_recv_sge; max_recv_sge 611 include/uapi/rdma/ib_user_verbs.h __u32 max_recv_sge; max_recv_sge 640 include/uapi/rdma/ib_user_verbs.h __u32 max_recv_sge; max_recv_sge 684 include/uapi/rdma/ib_user_verbs.h __u32 max_recv_sge; max_recv_sge 706 net/9p/trans_rdma.c qp_attr.cap.max_recv_sge = P9_RDMA_RECV_SGE; max_recv_sge 534 net/rds/ib_cm.c attr.cap.max_recv_sge = RDS_IB_RECV_SGE; max_recv_sge 341 net/smc/smc_ib.c .max_recv_sge = 1, max_recv_sge 476 net/sunrpc/xprtrdma/svc_rdma_transport.c qp_attr.cap.max_recv_sge = 1; max_recv_sge 486 net/sunrpc/xprtrdma/svc_rdma_transport.c qp_attr.cap.max_send_sge, qp_attr.cap.max_recv_sge); max_recv_sge 504 net/sunrpc/xprtrdma/verbs.c ep->rep_attr.cap.max_recv_sge = 1; max_recv_sge 516 net/sunrpc/xprtrdma/verbs.c ep->rep_attr.cap.max_recv_sge);