Home
last modified time | relevance | path

Searched refs:max_recv_sge (Results 1 – 25 of 57) sorted by relevance

123

/Linux-v5.10/drivers/infiniband/core/
Duverbs_std_types_qp.c71 attr->cap.max_recv_sge = cap->max_recv_sge; in set_caps()
77 cap->max_recv_sge = attr->cap.max_recv_sge; in set_caps()
159 if (cap.max_recv_wr || cap.max_recv_sge || in UVERBS_HANDLER()
Duverbs_marshall.c113 dst->max_recv_sge = src->cap.max_recv_sge; in ib_copy_qp_attr_to_user()
Duverbs_cmd.c341 resp->max_sge = min(attr->max_send_sge, attr->max_recv_sge); in copy_query_dev_fields()
1295 if (ind_tbl && (cmd->max_recv_wr || cmd->max_recv_sge || cmd->is_srq)) { in create_qp()
1321 cmd->max_recv_sge = 0; in create_qp()
1373 attr.cap.max_recv_sge = cmd->max_recv_sge; in create_qp()
1460 resp.base.max_recv_sge = attr.cap.max_recv_sge; in create_qp()
1511 cmd_ex.max_recv_sge = cmd.max_recv_sge; in ib_uverbs_create_qp()
1690 resp.max_recv_sge = init_attr->cap.max_recv_sge; in ib_uverbs_query_qp()
/Linux-v5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c229 dst->max_recv_sge = src->max_recv_sge; in pvrdma_qp_cap_to_ib()
238 dst->max_recv_sge = src->max_recv_sge; in ib_qp_cap_to_pvrdma()
Dpvrdma_dev_api.h562 u32 max_recv_sge; member
581 u32 max_recv_sge; member
592 u32 max_recv_sge; member
Dpvrdma_qp.c135 req_cap->max_recv_sge > dev->dsr->caps.max_sge) { in pvrdma_set_rq_size()
141 qp->rq.max_sg = roundup_pow_of_two(max(1U, req_cap->max_recv_sge)); in pvrdma_set_rq_size()
145 req_cap->max_recv_sge = qp->rq.max_sg; in pvrdma_set_rq_size()
375 cmd->max_recv_sge = init_attr->cap.max_recv_sge; in pvrdma_create_qp()
388 cmd->max_recv_sge); in pvrdma_create_qp()
Dpvrdma_verbs.h252 u32 max_recv_sge; member
/Linux-v5.10/drivers/infiniband/sw/rxe/
Drxe_qp.c40 if (cap->max_recv_sge > rxe->attr.max_recv_sge) { in rxe_qp_chk_cap()
42 cap->max_recv_sge, rxe->attr.max_recv_sge); in rxe_qp_chk_cap()
268 qp->rq.max_sge = init->cap.max_recv_sge; in rxe_qp_init_resp()
371 init->cap.max_recv_sge = qp->rq.max_sge; in rxe_qp_to_init()
730 attr->cap.max_recv_sge = qp->rq.max_sge; in rxe_qp_to_attr()
Drxe.c52 rxe->attr.max_recv_sge = RXE_MAX_SGE; in rxe_init_device_param()
/Linux-v5.10/drivers/infiniband/hw/hns/
Dhns_roce_qp.c367 cap->max_recv_sge = 0; in set_rq_size()
374 cap->max_recv_sge > hr_dev->caps.max_rq_sg) { in set_rq_size()
376 cap->max_recv_wr, cap->max_recv_sge); in set_rq_size()
387 hr_qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge)); in set_rq_size()
402 cap->max_recv_sge = hr_qp->rq.max_gs; in set_rq_size()
601 u32 max_recv_sge = init_attr->cap.max_recv_sge; in alloc_rq_inline_buf() local
614 wqe_list[0].sg_list = kcalloc(wqe_cnt, (max_recv_sge * in alloc_rq_inline_buf()
622 wqe_list[i].sg_list = &wqe_list[0].sg_list[i * max_recv_sge]; in alloc_rq_inline_buf()
/Linux-v5.10/include/uapi/rdma/
Dib_user_verbs.h553 __u32 max_recv_sge; member
582 __u32 max_recv_sge; member
622 __u32 max_recv_sge; member
651 __u32 max_recv_sge; member
695 __u32 max_recv_sge; member
Dib_user_ioctl_verbs.h228 __u32 max_recv_sge; member
/Linux-v5.10/drivers/infiniband/hw/efa/
Defa.h109 u32 max_recv_sge; member
Defa_verbs.c221 props->max_recv_sge = dev_attr->max_rq_sge; in efa_query_device()
310 qp_attr->cap.max_recv_sge = qp->max_recv_sge; in efa_query_qp()
562 if (init_attr->cap.max_recv_sge > dev->dev_attr.max_rq_sge) { in efa_qp_validate_cap()
565 init_attr->cap.max_recv_sge, dev->dev_attr.max_rq_sge); in efa_qp_validate_cap()
724 qp->max_recv_sge = init_attr->cap.max_recv_sge; in efa_create_qp()
/Linux-v5.10/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c448 qp_attr.cap.max_recv_sge = 1; in svc_rdma_accept()
458 qp_attr.cap.max_send_sge, qp_attr.cap.max_recv_sge); in svc_rdma_accept()
Dfrwr_ops.c188 ep->re_attr.cap.max_recv_sge = 1; in frwr_query_device()
/Linux-v5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c94 attr->max_recv_sge = dev->attr.max_recv_sge; in ocrdma_query_device()
1137 if (attrs->cap.max_recv_sge > dev->attr.max_recv_sge) { in ocrdma_check_qp_params()
1139 __func__, dev->id, attrs->cap.max_recv_sge); in ocrdma_check_qp_params()
1141 __func__, dev->id, dev->attr.max_recv_sge); in ocrdma_check_qp_params()
1276 qp->rq.max_sges = attrs->cap.max_recv_sge; in ocrdma_set_qp_init_params()
1485 qp_attr->cap.max_recv_sge = qp->rq.max_sges; in ocrdma_query_qp()
1773 if (init_attr->attr.max_sge > dev->attr.max_recv_sge) in ocrdma_create_srq()
Docrdma.h94 int max_recv_sge; member
/Linux-v5.10/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c152 .max_recv_sge = IPOIB_UD_RX_SG in ipoib_transport_dev_init()
/Linux-v5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.c147 attr->max_recv_sge = sdev->attrs.max_sge; in siw_query_device()
323 (attrs->cap.max_recv_sge > SIW_MAX_SGE)) { in siw_create_qp()
421 qp->attrs.rq_max_sges = attrs->cap.max_recv_sge; in siw_create_qp()
517 qp_attr->cap.max_recv_sge = qp->attrs.rq_max_sges; in siw_query_qp()
/Linux-v5.10/drivers/infiniband/sw/rdmavt/
Dqp.c1094 if (init_attr->cap.max_recv_sge > in rvt_create_qp()
1095 rdi->dparms.props.max_recv_sge || in rvt_create_qp()
1101 init_attr->cap.max_recv_sge + in rvt_create_qp()
1131 } else if (init_attr->cap.max_recv_sge > 1) in rvt_create_qp()
1133 (init_attr->cap.max_recv_sge - 1); in rvt_create_qp()
1173 qp->r_rq.max_sge = init_attr->cap.max_recv_sge; in rvt_create_qp()
1791 attr->cap.max_recv_sge = qp->r_rq.max_sge; in rvt_query_qp()
/Linux-v5.10/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c156 if (attrs->cap.max_recv_sge > QEDR_GSI_MAX_RECV_SGE) { in qedr_check_gsi_qp_attrs()
159 attrs->cap.max_recv_sge, QEDR_GSI_MAX_RECV_SGE); in qedr_check_gsi_qp_attrs()
/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c77 props->max_recv_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; in i40iw_query_device()
543 if (init_attr->cap.max_recv_sge > I40IW_MAX_WQ_FRAGMENT_COUNT) in i40iw_create_qp()
544 init_attr->cap.max_recv_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; in i40iw_create_qp()
555 init_info.qp_uk_init_info.max_rq_frag_cnt = init_attr->cap.max_recv_sge; in i40iw_create_qp()
756 attr->cap.max_recv_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; in i40iw_query_qp()
/Linux-v5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c156 ib_attr->max_recv_sge = dev_attr->max_qp_sges; in bnxt_re_query_device()
1110 rq->max_sge = init_attr->cap.max_recv_sge; in bnxt_re_init_rq_attr()
1113 init_attr->cap.max_recv_sge = rq->max_sge; in bnxt_re_init_rq_attr()
1400 init_attr->cap.max_recv_sge > dev_attr->max_qp_sges || in bnxt_re_test_qp_limits()
1407 init_attr->cap.max_recv_sge, dev_attr->max_qp_sges, in bnxt_re_test_qp_limits()
2015 (qp_attr->cap.max_recv_sge >= dev_attr->max_qp_sges) || in bnxt_re_modify_qp()
2040 qp->qplib_qp.rq.max_sge = qp_attr->cap.max_recv_sge; in bnxt_re_modify_qp()
2109 qp_attr->cap.max_recv_sge = qp->qplib_qp.rq.max_sge; in bnxt_re_query_qp()
/Linux-v5.10/drivers/infiniband/hw/mlx4/
Dqp.c307 cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg)) in set_rq_size()
321 if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge || in set_rq_size()
326 qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge)); in set_rq_size()
334 cap->max_recv_sge = qp->rq.max_gs; in set_rq_size()
338 cap->max_recv_sge = min(qp->rq.max_gs, in set_rq_size()
982 init_attr->cap.max_recv_sge++; in create_qp_common()
4041 qp_attr->cap.max_recv_sge = qp->rq.max_gs; in mlx4_ib_query_qp()
4131 ib_qp_init_attr.cap.max_recv_sge = init_attr->max_sge; in mlx4_ib_create_wq()

123