/Linux-v6.6/drivers/infiniband/sw/rxe/ |
D | rxe_srq.c | 29 if (attr->max_sge > rxe->attr.max_srq_sge) { in rxe_srq_chk_init() 31 attr->max_sge, rxe->attr.max_srq_sge); in rxe_srq_chk_init() 35 if (attr->max_sge < RXE_MIN_SRQ_SGE) in rxe_srq_chk_init() 36 attr->max_sge = RXE_MIN_SRQ_SGE; in rxe_srq_chk_init() 57 srq->rq.max_sge = init->attr.max_sge; in rxe_srq_from_init() 60 srq->rq.max_sge*sizeof(struct ib_sge); in rxe_srq_from_init() 168 srq->rq.max_sge*sizeof(struct ib_sge); in rxe_srq_from_attr()
|
D | rxe_qp.c | 197 qp->sq.max_sge = wqe_size / sizeof(struct ib_sge); in rxe_init_sq() 222 init->cap.max_send_sge = qp->sq.max_sge; in rxe_init_sq() 288 qp->rq.max_sge = init->cap.max_recv_sge; in rxe_init_rq() 290 qp->rq.max_sge*sizeof(struct ib_sge); in rxe_init_rq() 423 init->cap.max_send_sge = qp->sq.max_sge; in rxe_qp_to_init() 428 init->cap.max_recv_sge = qp->rq.max_sge; in rxe_qp_to_init() 769 attr->cap.max_send_sge = qp->sq.max_sge; in rxe_qp_to_attr() 774 attr->cap.max_recv_sge = qp->rq.max_sge; in rxe_qp_to_attr()
|
D | rxe_verbs.h | 80 int max_sge; member 88 int max_sge; member
|
/Linux-v6.6/drivers/infiniband/hw/hns/ |
D | hns_roce_srq.c | 270 u32 max_sge = dev->caps.max_srq_sges; in proc_srq_sge() local 273 return max_sge; in proc_srq_sge() 282 max_sge = roundup_pow_of_two(max_sge + 1); in proc_srq_sge() 286 return max_sge; in proc_srq_sge() 295 u32 max_sge; in set_srq_basic_param() local 297 max_sge = proc_srq_sge(hr_dev, srq, !!udata); in set_srq_basic_param() 299 attr->max_sge > max_sge) { in set_srq_basic_param() 302 attr->max_wr, attr->max_sge); in set_srq_basic_param() 308 srq->max_gs = roundup_pow_of_two(attr->max_sge + srq->rsv_sge); in set_srq_basic_param() 311 attr->max_sge = srq->max_gs - srq->rsv_sge; in set_srq_basic_param()
|
D | hns_roce_qp.c | 423 u32 max_sge = dev->caps.max_rq_sg; in proc_rq_sge() local 426 return max_sge; in proc_rq_sge() 435 max_sge = roundup_pow_of_two(max_sge + 1); in proc_rq_sge() 439 return max_sge; in proc_rq_sge() 445 u32 max_sge = proc_rq_sge(hr_dev, hr_qp, user); in set_rq_size() local 460 cap->max_recv_sge > max_sge) { in set_rq_size()
|
/Linux-v6.6/drivers/infiniband/sw/rdmavt/ |
D | srq.c | 45 if (srq_init_attr->attr.max_sge == 0 || in rvt_create_srq() 46 srq_init_attr->attr.max_sge > dev->dparms.props.max_srq_sge || in rvt_create_srq() 55 srq->rq.max_sge = srq_init_attr->attr.max_sge; in rvt_create_srq() 56 sz = sizeof(struct ib_sge) * srq->rq.max_sge + in rvt_create_srq() 145 srq->rq.max_sge * sizeof(struct ib_sge); in rvt_modify_srq() 284 attr->max_sge = srq->rq.max_sge; in rvt_query_srq()
|
/Linux-v6.6/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_srq.c | 86 srq_attr->max_sge = resp->attrs.max_sge; in pvrdma_query_srq() 128 init_attr->attr.max_sge > dev->dsr->caps.max_srq_sge) { in pvrdma_create_srq() 179 cmd->attrs.max_sge = init_attr->attr.max_sge; in pvrdma_create_srq()
|
D | pvrdma_verbs.c | 84 props->max_send_sge = dev->dsr->caps.max_sge; in pvrdma_query_device() 85 props->max_recv_sge = dev->dsr->caps.max_sge; in pvrdma_query_device() 86 props->max_sge_rd = PVRDMA_GET_CAP(dev, dev->dsr->caps.max_sge, in pvrdma_query_device()
|
/Linux-v6.6/drivers/infiniband/core/ |
D | uverbs_std_types_wq.c | 49 ret = uverbs_copy_from(&wq_init_attr.max_sge, attrs, in UVERBS_HANDLER() 99 &wq_init_attr.max_sge, in UVERBS_HANDLER() 100 sizeof(wq_init_attr.max_sge)); in UVERBS_HANDLER()
|
D | uverbs_std_types_srq.c | 50 ret = uverbs_copy_from(&attr.attr.max_sge, attrs, in UVERBS_HANDLER() 123 &attr.attr.max_sge, in UVERBS_HANDLER() 124 sizeof(attr.attr.max_sge)); in UVERBS_HANDLER()
|
D | uverbs_cmd.c | 341 resp->max_sge = min(attr->max_send_sge, attr->max_recv_sge); in copy_query_dev_fields() 2917 wq_init_attr.max_sge = cmd.max_sge; in ib_uverbs_ex_create_wq() 2950 resp.max_sge = wq_init_attr.max_sge; in ib_uverbs_ex_create_wq() 3415 attr.attr.max_sge = cmd->max_sge; in __uverbs_create_xsrq() 3448 resp.max_sge = attr.attr.max_sge; in __uverbs_create_xsrq() 3485 xcmd.max_sge = cmd.max_sge; in ib_uverbs_create_srq() 3557 resp.max_sge = attr.max_sge; in ib_uverbs_query_srq() 3640 resp.tm_caps.max_sge = attr.tm_caps.max_sge; in ib_uverbs_ex_query_device() 3975 max_sge,
|
D | rw.c | 199 u32 max_sge = dir == DMA_TO_DEVICE ? qp->max_write_sge : in rdma_rw_init_map_wrs() local 204 ctx->nr_ops = DIV_ROUND_UP(sg_cnt, max_sge); in rdma_rw_init_map_wrs() 216 u32 nr_sge = min(sg_cnt, max_sge); in rdma_rw_init_map_wrs()
|
/Linux-v6.6/include/uapi/rdma/ |
D | ib_user_verbs.h | 199 __u32 max_sge; member 267 __u32 max_sge; member 1178 __u32 max_sge; member 1189 __u32 max_sge; member 1200 __u32 max_sge; member 1222 __u32 max_sge; member 1244 __u32 max_sge; member 1254 __u32 max_sge; member
|
/Linux-v6.6/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 148 attr->max_recv_sge = sdev->attrs.max_sge; in siw_query_device() 150 attr->max_send_sge = sdev->attrs.max_sge; in siw_query_device() 1413 u32 max_sge) in siw_alloc_mr() argument 1430 if (max_sge > SIW_MAX_SGE_PBL) { in siw_alloc_mr() 1431 siw_dbg_pd(pd, "too many sge's: %d\n", max_sge); in siw_alloc_mr() 1435 pbl = siw_pbl_alloc(max_sge); in siw_alloc_mr() 1447 rv = siw_mr_add_mem(mr, pd, pbl, 0, max_sge * PAGE_SIZE, 0); in siw_alloc_mr() 1611 attrs->max_sge > SIW_MAX_SGE || attrs->srq_limit > attrs->max_wr) { in siw_create_srq() 1615 srq->max_sge = attrs->max_sge; in siw_create_srq() 1726 attrs->max_sge = srq->max_sge; in siw_query_srq() [all …]
|
D | siw_verbs.h | 70 u32 max_sge);
|
/Linux-v6.6/net/sunrpc/xprtrdma/ |
D | frwr_ops.c | 175 unsigned int max_sge; in frwr_query_device() local 184 max_sge = min_t(unsigned int, attrs->max_send_sge, in frwr_query_device() 186 if (max_sge < RPCRDMA_MIN_SEND_SGES) { in frwr_query_device() 187 pr_err("rpcrdma: HCA provides only %u send SGEs\n", max_sge); in frwr_query_device() 190 ep->re_attr.cap.max_send_sge = max_sge; in frwr_query_device()
|
/Linux-v6.6/net/rds/ |
D | ib.c | 154 rds_ibdev->max_sge = min(device->attrs.max_send_sge, RDS_IB_MAX_SGE); in rds_ib_add_one() 210 device->attrs.max_mr, rds_ibdev->max_wrs, rds_ibdev->max_sge, in rds_ib_add_one() 324 iinfo->max_send_sge = rds_ibdev->max_sge; in rds_ib_conn_info_visitor() 361 iinfo6->max_send_sge = rds_ibdev->max_sge; in rds6_ib_conn_info_visitor()
|
D | ib_send.c | 862 u32 max_sge = ic->rds_ibdev->max_sge; in rds_ib_xmit_rdma() local 900 i = DIV_ROUND_UP(op->op_count, max_sge); in rds_ib_xmit_rdma() 930 if (num_sge > max_sge) { in rds_ib_xmit_rdma() 931 send->s_rdma_wr.wr.num_sge = max_sge; in rds_ib_xmit_rdma() 932 num_sge -= max_sge; in rds_ib_xmit_rdma()
|
/Linux-v6.6/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 985 sq->wqe_size = bnxt_re_get_wqe_size(ilsize, sq->max_sge); in bnxt_re_setup_swqe_size() 1000 sq->max_sge = qplqp->max_inline_data / in bnxt_re_setup_swqe_size() 1147 qp->qplib_qp.sq.max_sge = 2; in bnxt_re_create_shadow_qp() 1158 qp->qplib_qp.rq.max_sge = qp1_qp->rq.max_sge; in bnxt_re_create_shadow_qp() 1207 rq->max_sge = init_attr->cap.max_recv_sge; in bnxt_re_init_rq_attr() 1208 if (rq->max_sge > dev_attr->max_qp_sges) in bnxt_re_init_rq_attr() 1209 rq->max_sge = dev_attr->max_qp_sges; in bnxt_re_init_rq_attr() 1210 init_attr->cap.max_recv_sge = rq->max_sge; in bnxt_re_init_rq_attr() 1211 rq->wqe_size = bnxt_re_setup_rwqe_size(qplqp, rq->max_sge, in bnxt_re_init_rq_attr() 1237 qplqp->rq.max_sge = dev_attr->max_qp_sges; in bnxt_re_adjust_gsi_rq_attr() [all …]
|
D | qplib_fp.h | 97 u32 max_sge; member 256 u16 max_sge; member
|
/Linux-v6.6/drivers/infiniband/hw/mlx4/ |
D | srq.c | 95 init_attr->attr.max_sge > dev->dev->caps.max_srq_sge) in mlx4_ib_create_srq() 101 srq->msrq.max_gs = init_attr->attr.max_sge; in mlx4_ib_create_srq() 263 srq_attr->max_sge = srq->msrq.max_gs; in mlx4_ib_query_srq()
|
/Linux-v6.6/drivers/vfio/pci/pds/ |
D | dirty.c | 135 u32 max_sge; in __pds_vfio_dirty_alloc_sgl() local 137 max_sge = DIV_ROUND_UP(page_count, PAGE_SIZE * 8); in __pds_vfio_dirty_alloc_sgl() 138 sgl_size = max_sge * sizeof(struct pds_lm_sg_elem); in __pds_vfio_dirty_alloc_sgl() 151 bmp_info->num_sge = max_sge; in __pds_vfio_dirty_alloc_sgl()
|
/Linux-v6.6/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 216 attr->max_sge > dev->limits.max_srq_sge) in mthca_alloc_srq() 220 srq->max_gs = attr->max_sge; in mthca_alloc_srq() 298 attr->max_sge = srq->max_gs; in mthca_alloc_srq() 422 srq_attr->max_sge = srq->max_gs; in mthca_query_srq()
|
/Linux-v6.6/drivers/scsi/elx/efct/ |
D | efct_lio.h | 37 u32 max_sge; member
|
/Linux-v6.6/drivers/scsi/csiostor/ |
D | csio_scsi.h | 149 uint8_t max_sge; /* Max SGE */ member
|