max_send_sge 3159 drivers/infiniband/core/mad.c qp_init_attr.cap.max_send_sge = IB_MAD_SEND_REQ_MAX_SG; max_send_sge 325 drivers/infiniband/core/uverbs_cmd.c resp->max_sge = min(attr->max_send_sge, attr->max_recv_sge); max_send_sge 1388 drivers/infiniband/core/uverbs_cmd.c attr.cap.max_send_sge = cmd->max_send_sge; max_send_sge 1454 drivers/infiniband/core/uverbs_cmd.c resp.base.max_send_sge = attr.cap.max_send_sge; max_send_sge 1522 drivers/infiniband/core/uverbs_cmd.c cmd_ex.max_send_sge = cmd.max_send_sge; max_send_sge 1709 drivers/infiniband/core/uverbs_cmd.c resp.max_send_sge = init_attr->cap.max_send_sge; max_send_sge 112 drivers/infiniband/core/uverbs_marshall.c dst->max_send_sge = src->cap.max_send_sge; max_send_sge 1228 drivers/infiniband/core/verbs.c qp->max_write_sge = qp_init_attr->cap.max_send_sge; max_send_sge 1229 drivers/infiniband/core/verbs.c qp->max_read_sge = min_t(u32, qp_init_attr->cap.max_send_sge, max_send_sge 155 drivers/infiniband/hw/bnxt_re/ib_verbs.c ib_attr->max_send_sge = dev_attr->max_qp_sges; max_send_sge 1015 drivers/infiniband/hw/bnxt_re/ib_verbs.c (qp_init_attr->cap.max_send_sge > dev_attr->max_qp_sges) || max_send_sge 1044 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.sq.max_sge = qp_init_attr->cap.max_send_sge; max_send_sge 1729 drivers/infiniband/hw/bnxt_re/ib_verbs.c (qp_attr->cap.max_send_sge >= dev_attr->max_qp_sges) || max_send_sge 1748 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp->qplib_qp.sq.max_sge = qp_attr->cap.max_send_sge; max_send_sge 1822 drivers/infiniband/hw/bnxt_re/ib_verbs.c qp_attr->cap.max_send_sge = qp->qplib_qp.sq.max_sge; max_send_sge 774 drivers/infiniband/hw/cxgb3/iwch_provider.c qhp->attr.sq_max_sges = attrs->cap.max_send_sge; max_send_sge 775 drivers/infiniband/hw/cxgb3/iwch_provider.c qhp->attr.sq_max_sges_rdma_write = attrs->cap.max_send_sge; max_send_sge 976 drivers/infiniband/hw/cxgb3/iwch_provider.c props->max_send_sge = dev->attr.max_sge_per_wr; max_send_sge 286 drivers/infiniband/hw/cxgb4/provider.c props->max_send_sge = min(T4_MAX_SEND_SGE, T4_MAX_WRITE_SGE); max_send_sge 2200 drivers/infiniband/hw/cxgb4/qp.c qhp->attr.sq_max_sges = attrs->cap.max_send_sge; max_send_sge 2201 drivers/infiniband/hw/cxgb4/qp.c qhp->attr.sq_max_sges_rdma_write = attrs->cap.max_send_sge; max_send_sge 2473 drivers/infiniband/hw/cxgb4/qp.c init_attr->cap.max_send_sge = qhp->attr.sq_max_sges; max_send_sge 107 drivers/infiniband/hw/efa/efa.h u32 max_send_sge; max_send_sge 307 drivers/infiniband/hw/efa/efa_verbs.c props->max_send_sge = dev_attr->max_sq_sge; max_send_sge 386 drivers/infiniband/hw/efa/efa_verbs.c qp_attr->cap.max_send_sge = qp->max_send_sge; max_send_sge 582 drivers/infiniband/hw/efa/efa_verbs.c if (init_attr->cap.max_send_sge > dev->dev_attr.max_sq_sge) { max_send_sge 585 drivers/infiniband/hw/efa/efa_verbs.c init_attr->cap.max_send_sge, dev->dev_attr.max_sq_sge); max_send_sge 751 drivers/infiniband/hw/efa/efa_verbs.c qp->max_send_sge = init_attr->cap.max_send_sge; max_send_sge 1357 drivers/infiniband/hw/hfi1/verbs.c rdi->dparms.props.max_send_sge = hfi1_max_sges; max_send_sge 3439 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_send_sge = hr_qp->sq.max_gs; max_send_sge 3577 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_send_sge = hr_qp->sq.max_gs; max_send_sge 3580 drivers/infiniband/hw/hns/hns_roce_hw_v1.c qp_attr->cap.max_send_sge = 0; max_send_sge 4636 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->cap.max_send_sge = hr_qp->sq.max_gs; max_send_sge 4639 drivers/infiniband/hw/hns/hns_roce_hw_v2.c qp_attr->cap.max_send_sge = 0; max_send_sge 199 drivers/infiniband/hw/hns/hns_roce_main.c props->max_send_sge = hr_dev->caps.max_sq_sg; max_send_sge 341 drivers/infiniband/hw/hns/hns_roce_qp.c if (cap->max_send_sge > hr_dev->caps.max_sq_sg) { max_send_sge 343 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_send_sge); max_send_sge 372 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = max(1U, cap->max_send_sge); max_send_sge 561 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_send_sge > hr_dev->caps.max_sq_sg || max_send_sge 581 drivers/infiniband/hw/hns/hns_roce_qp.c max_cnt = max(1U, cap->max_send_sge); max_send_sge 614 drivers/infiniband/hw/hns/hns_roce_qp.c cap->max_send_sge = hr_qp->sq.max_gs; max_send_sge 75 drivers/infiniband/hw/i40iw/i40iw_verbs.c props->max_send_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; max_send_sge 554 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (init_attr->cap.max_send_sge > I40IW_MAX_WQ_FRAGMENT_COUNT) max_send_sge 555 drivers/infiniband/hw/i40iw/i40iw_verbs.c init_attr->cap.max_send_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; max_send_sge 568 drivers/infiniband/hw/i40iw/i40iw_verbs.c init_info.qp_uk_init_info.max_sq_frag_cnt = init_attr->cap.max_send_sge; max_send_sge 770 drivers/infiniband/hw/i40iw/i40iw_verbs.c attr->cap.max_send_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; max_send_sge 1816 drivers/infiniband/hw/mlx4/mad.c qp_init_attr.init_attr.cap.max_send_sge = 1; max_send_sge 532 drivers/infiniband/hw/mlx4/main.c props->max_send_sge = max_send_sge 379 drivers/infiniband/hw/mlx4/qp.c cap->max_send_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg) || max_send_sge 390 drivers/infiniband/hw/mlx4/qp.c cap->max_send_sge + 2 > dev->dev->caps.max_sq_sg) max_send_sge 393 drivers/infiniband/hw/mlx4/qp.c s = max(cap->max_send_sge * sizeof (struct mlx4_wqe_data_seg), max_send_sge 428 drivers/infiniband/hw/mlx4/qp.c cap->max_send_sge = min(qp->sq.max_gs, max_send_sge 4096 drivers/infiniband/hw/mlx4/qp.c qp_attr->cap.max_send_sge = qp->sq.max_gs; max_send_sge 4099 drivers/infiniband/hw/mlx4/qp.c qp_attr->cap.max_send_sge = 0; max_send_sge 184 drivers/infiniband/hw/mlx5/gsi.c hw_init_attr.cap.max_send_sge = 0; max_send_sge 261 drivers/infiniband/hw/mlx5/gsi.c .max_send_sge = gsi->cap.max_send_sge, max_send_sge 997 drivers/infiniband/hw/mlx5/main.c props->max_send_sge = max_sq_sg; max_send_sge 4838 drivers/infiniband/hw/mlx5/main.c init_attr->cap.max_send_sge = 1; max_send_sge 445 drivers/infiniband/hw/mlx5/qp.c size += attr->cap.max_send_sge * sizeof(struct mlx5_wqe_data_seg); max_send_sge 511 drivers/infiniband/hw/mlx5/qp.c if (qp->sq.max_gs < attr->cap.max_send_sge) max_send_sge 514 drivers/infiniband/hw/mlx5/qp.c attr->cap.max_send_sge = qp->sq.max_gs; max_send_sge 5802 drivers/infiniband/hw/mlx5/qp.c qp_attr->cap.max_send_sge = qp->sq.max_gs; max_send_sge 5806 drivers/infiniband/hw/mlx5/qp.c qp_attr->cap.max_send_sge = 0; max_send_sge 100 drivers/infiniband/hw/mthca/mthca_provider.c props->max_send_sge = mdev->limits.max_sg; max_send_sge 574 drivers/infiniband/hw/mthca/mthca_provider.c init_attr->cap.max_send_sge = qp->sq.max_gs; max_send_sge 507 drivers/infiniband/hw/mthca/mthca_qp.c qp_attr->cap.max_send_sge = qp->sq.max_gs; max_send_sge 1257 drivers/infiniband/hw/mthca/mthca_qp.c cap->max_send_sge > dev->limits.max_sg || max_send_sge 1266 drivers/infiniband/hw/mthca/mthca_qp.c if (qp->transport == MLX && cap->max_send_sge + 2 > dev->limits.max_sg) max_send_sge 1280 drivers/infiniband/hw/mthca/mthca_qp.c qp->sq.max_gs = max_t(int, cap->max_send_sge, max_send_sge 93 drivers/infiniband/hw/ocrdma/ocrdma.h int max_send_sge; max_send_sge 1162 drivers/infiniband/hw/ocrdma/ocrdma_hw.c attr->max_send_sge = ((rsp->max_recv_send_sge & max_send_sge 2192 drivers/infiniband/hw/ocrdma/ocrdma_hw.c u32 max_sges = attrs->cap.max_send_sge; max_send_sge 93 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c attr->max_send_sge = dev->attr.max_send_sge; max_send_sge 1145 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c if (attrs->cap.max_send_sge > dev->attr.max_send_sge) { max_send_sge 1147 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c __func__, dev->id, attrs->cap.max_send_sge); max_send_sge 1149 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c __func__, dev->id, dev->attr.max_send_sge); max_send_sge 1290 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp->sq.max_sges = attrs->cap.max_send_sge; max_send_sge 1499 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c qp_attr->cap.max_send_sge = qp->sq.max_sges; max_send_sge 134 drivers/infiniband/hw/qedr/verbs.c attr->max_send_sge = qattr->max_sge; max_send_sge 1099 drivers/infiniband/hw/qedr/verbs.c if (attrs->cap.max_send_sge > qattr->max_sge) { max_send_sge 1102 drivers/infiniband/hw/qedr/verbs.c attrs->cap.max_send_sge, qattr->max_sge); max_send_sge 1204 drivers/infiniband/hw/qedr/verbs.c qp->sq.max_sges = attrs->cap.max_send_sge; max_send_sge 2406 drivers/infiniband/hw/qedr/verbs.c qp_attr->cap.max_send_sge = qp->sq.max_sges; max_send_sge 1458 drivers/infiniband/hw/qib/qib_verbs.c rdi->dparms.props.max_send_sge = ib_qib_max_sges; max_send_sge 560 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 max_send_sge; max_send_sge 579 drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h u32 max_send_sge; max_send_sge 229 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c dst->max_send_sge = src->max_send_sge; max_send_sge 238 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c dst->max_send_sge = src->max_send_sge; max_send_sge 157 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c req_cap->max_send_sge > dev->dsr->caps.max_sge) { max_send_sge 163 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c qp->sq.max_sg = roundup_pow_of_two(max(1U, req_cap->max_send_sge)); max_send_sge 167 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c req_cap->max_send_sge = qp->sq.max_sg; max_send_sge 358 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cmd->max_send_sge = init_attr->cap.max_send_sge; max_send_sge 371 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c cmd->max_send_wr, cmd->max_recv_wr, cmd->max_send_sge, max_send_sge 84 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c props->max_send_sge = dev->dsr->caps.max_sge; max_send_sge 251 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h u32 max_send_sge; max_send_sge 1081 drivers/infiniband/sw/rdmavt/qp.c if (init_attr->cap.max_send_sge > rdi->dparms.props.max_send_sge || max_send_sge 1093 drivers/infiniband/sw/rdmavt/qp.c if (init_attr->cap.max_send_sge + max_send_sge 1112 drivers/infiniband/sw/rdmavt/qp.c sz = struct_size(swq, sg_list, init_attr->cap.max_send_sge); max_send_sge 1193 drivers/infiniband/sw/rdmavt/qp.c qp->s_max_sge = init_attr->cap.max_send_sge; max_send_sge 1776 drivers/infiniband/sw/rdmavt/qp.c attr->cap.max_send_sge = qp->s_max_sge; max_send_sge 89 drivers/infiniband/sw/rxe/rxe.c rxe->attr.max_send_sge = RXE_MAX_SGE; max_send_sge 54 drivers/infiniband/sw/rxe/rxe_qp.c if (cap->max_send_sge > rxe->attr.max_send_sge) { max_send_sge 56 drivers/infiniband/sw/rxe/rxe_qp.c cap->max_send_sge, rxe->attr.max_send_sge); max_send_sge 242 drivers/infiniband/sw/rxe/rxe_qp.c qp->sq.max_sge = init->cap.max_send_sge; max_send_sge 395 drivers/infiniband/sw/rxe/rxe_qp.c init->cap.max_send_sge = qp->sq.max_sge; max_send_sge 754 drivers/infiniband/sw/rxe/rxe_qp.c attr->cap.max_send_sge = qp->sq.max_sge; max_send_sge 182 drivers/infiniband/sw/siw/siw_verbs.c attr->max_send_sge = sdev->attrs.max_sge; max_send_sge 335 drivers/infiniband/sw/siw/siw_verbs.c (attrs->cap.max_send_sge > SIW_MAX_SGE) || max_send_sge 444 drivers/infiniband/sw/siw/siw_verbs.c qp->attrs.sq_max_sges = attrs->cap.max_send_sge; max_send_sge 537 drivers/infiniband/sw/siw/siw_verbs.c qp_attr->cap.max_send_sge = qp->attrs.sq_max_sges; max_send_sge 256 drivers/infiniband/ulp/ipoib/ipoib.h unsigned int max_send_sge; max_send_sge 415 drivers/infiniband/ulp/ipoib/ipoib.h unsigned int max_send_sge; max_send_sge 259 drivers/infiniband/ulp/ipoib/ipoib_cm.c .cap.max_send_sge = 1, /* FIXME: 0 Seems not to work */ max_send_sge 713 drivers/infiniband/ulp/ipoib/ipoib_cm.c unsigned int usable_sge = tx->max_send_sge - !!skb_headlen(skb); max_send_sge 1065 drivers/infiniband/ulp/ipoib/ipoib_cm.c .cap.max_send_sge = 1, max_send_sge 1074 drivers/infiniband/ulp/ipoib/ipoib_cm.c attr.cap.max_send_sge = min_t(u32, priv->ca->attrs.max_send_sge, max_send_sge 1078 drivers/infiniband/ulp/ipoib/ipoib_cm.c tx->max_send_sge = attr.cap.max_send_sge; max_send_sge 573 drivers/infiniband/ulp/ipoib/ipoib_ib.c unsigned int usable_sge = priv->max_send_sge - !!skb_headlen(skb); max_send_sge 150 drivers/infiniband/ulp/ipoib/ipoib_verbs.c .max_send_sge = min_t(u32, priv->ca->attrs.max_send_sge, max_send_sge 233 drivers/infiniband/ulp/ipoib/ipoib_verbs.c if (init_attr.cap.max_send_sge > 1) max_send_sge 236 drivers/infiniband/ulp/ipoib/ipoib_verbs.c priv->max_send_sge = init_attr.cap.max_send_sge; max_send_sge 396 drivers/infiniband/ulp/iser/iser_verbs.c init_attr.cap.max_send_sge = 2; max_send_sge 131 drivers/infiniband/ulp/isert/ib_isert.c attr.cap.max_send_sge = device->ib_device->attrs.max_send_sge; max_send_sge 295 drivers/infiniband/ulp/isert/ib_isert.c ib_dev->attrs.max_send_sge, ib_dev->attrs.max_recv_sge); max_send_sge 586 drivers/infiniband/ulp/srp/ib_srp.c init_attr->cap.max_send_sge = SRP_MAX_SGE; max_send_sge 1819 drivers/infiniband/ulp/srpt/ib_srpt.c qp_init->cap.max_send_sge = min(attrs->max_send_sge, max_send_sge 1864 drivers/infiniband/ulp/srpt/ib_srpt.c __func__, ch->cq->cqe, qp_init->cap.max_send_sge, max_send_sge 267 drivers/nvme/host/rdma.c init_attr.cap.max_send_sge = 1 + dev->num_inline_segments; max_send_sge 385 drivers/nvme/host/rdma.c ndev->dev->attrs.max_send_sge - 1); max_send_sge 1012 drivers/nvme/target/rdma.c qp_attr.cap.max_send_sge = max(ndev->device->attrs.max_sge_rd, max_send_sge 1013 drivers/nvme/target/rdma.c ndev->device->attrs.max_send_sge); max_send_sge 1032 drivers/nvme/target/rdma.c __func__, queue->cq->cqe, qp_attr.cap.max_send_sge, max_send_sge 1644 fs/cifs/smbdirect.c if (info->id->device->attrs.max_send_sge < SMBDIRECT_MAX_SGE) { max_send_sge 1647 fs/cifs/smbdirect.c info->id->device->attrs.max_send_sge); max_send_sge 1680 fs/cifs/smbdirect.c qp_attr.cap.max_send_sge = SMBDIRECT_MAX_SGE; max_send_sge 405 include/rdma/ib_verbs.h int max_send_sge; max_send_sge 1047 include/rdma/ib_verbs.h u32 max_send_sge; max_send_sge 249 include/uapi/linux/rds.h __u32 max_send_sge; max_send_sge 265 include/uapi/linux/rds.h __u32 max_send_sge; max_send_sge 541 include/uapi/rdma/ib_user_verbs.h __u32 max_send_sge; max_send_sge 570 include/uapi/rdma/ib_user_verbs.h __u32 max_send_sge; max_send_sge 610 include/uapi/rdma/ib_user_verbs.h __u32 max_send_sge; max_send_sge 639 include/uapi/rdma/ib_user_verbs.h __u32 max_send_sge; max_send_sge 683 include/uapi/rdma/ib_user_verbs.h __u32 max_send_sge; max_send_sge 705 net/9p/trans_rdma.c qp_attr.cap.max_send_sge = P9_RDMA_SEND_SGE; max_send_sge 150 net/rds/ib.c rds_ibdev->max_sge = min(device->attrs.max_send_sge, RDS_IB_MAX_SGE); max_send_sge 320 net/rds/ib.c iinfo->max_send_sge = rds_ibdev->max_sge; max_send_sge 357 net/rds/ib.c iinfo6->max_send_sge = rds_ibdev->max_sge; max_send_sge 533 net/rds/ib_cm.c attr.cap.max_send_sge = rds_ibdev->max_sge; max_send_sge 340 net/smc/smc_ib.c .max_send_sge = SMC_IB_MAX_SEND_SGE, max_send_sge 426 net/sunrpc/xprtrdma/svc_rdma_transport.c if (newxprt->sc_max_send_sges > dev->attrs.max_send_sge) max_send_sge 427 net/sunrpc/xprtrdma/svc_rdma_transport.c newxprt->sc_max_send_sges = dev->attrs.max_send_sge; max_send_sge 475 net/sunrpc/xprtrdma/svc_rdma_transport.c qp_attr.cap.max_send_sge = newxprt->sc_max_send_sges; max_send_sge 486 net/sunrpc/xprtrdma/svc_rdma_transport.c qp_attr.cap.max_send_sge, qp_attr.cap.max_recv_sge); max_send_sge 488 net/sunrpc/xprtrdma/verbs.c max_sge = min_t(unsigned int, ia->ri_id->device->attrs.max_send_sge, max_send_sge 503 net/sunrpc/xprtrdma/verbs.c ep->rep_attr.cap.max_send_sge = max_sge; max_send_sge 515 net/sunrpc/xprtrdma/verbs.c ep->rep_attr.cap.max_send_sge,