Home
last modified time | relevance | path

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

123

/linux/drivers/infiniband/core/
H A 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()
H A Duverbs_marshall.c113 dst->max_recv_sge = src->cap.max_recv_sge; in ib_copy_qp_attr_to_user()
H A Duverbs_cmd.c341 resp->max_sge = min(attr->max_send_sge, attr->max_recv_sge); in copy_query_dev_fields()
1332 if (ind_tbl && (cmd->max_recv_wr || cmd->max_recv_sge || cmd->is_srq)) { in create_qp()
1358 cmd->max_recv_sge = 0; in create_qp()
1409 attr.cap.max_recv_sge = cmd->max_recv_sge; in create_qp()
1474 resp.base.max_recv_sge = attr.cap.max_recv_sge; in create_qp()
1522 cmd_ex.max_recv_sge = cmd.max_recv_sge; in ib_uverbs_create_qp()
1701 resp.max_recv_sge = init_attr->cap.max_recv_sge; in ib_uverbs_query_qp()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A 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()
H A Dpvrdma_dev_api.h562 u32 max_recv_sge; member
581 u32 max_recv_sge; member
592 u32 max_recv_sge; member
H A 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()
368 cmd->max_recv_sge = init_attr->cap.max_recv_sge; in pvrdma_create_qp()
381 cmd->max_recv_sge); in pvrdma_create_qp()
H A Dpvrdma_verbs.h217 u32 max_recv_sge; member
/linux/drivers/infiniband/sw/rxe/
H A 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()
287 qp->rq.max_sge = init->cap.max_recv_sge; in rxe_init_rq()
427 init->cap.max_recv_sge = qp->rq.max_sge; in rxe_qp_to_init()
768 attr->cap.max_recv_sge = qp->rq.max_sge; in rxe_qp_to_attr()
H A Drxe.c53 rxe->attr.max_recv_sge = RXE_MAX_SGE; in rxe_init_device_param()
/linux/include/uapi/rdma/
H A Dib_user_verbs.h567 __u32 max_recv_sge; member
596 __u32 max_recv_sge; member
622 __u32 max_recv_sge; member
651 __u32 max_recv_sge; member
695 __u32 max_recv_sge; member
H A Dib_user_ioctl_verbs.h231 __u32 max_recv_sge; member
/linux/drivers/infiniband/hw/erdma/
H A Derdma_verbs.c329 attr->max_recv_sge = dev->attrs.max_recv_sge; in erdma_query_device()
450 (attrs->cap.max_recv_sge > dev->attrs.max_recv_sge) || in erdma_qp_validate_cap()
997 qp->attrs.max_recv_sge = attrs->cap.max_recv_sge; in erdma_create_qp()
1586 qp_attr->cap.max_recv_sge = qp->attrs.max_recv_sge; in erdma_query_qp()
H A Derdma.h143 u32 max_recv_sge; member
H A Derdma_verbs.h212 u32 max_recv_sge; member
/linux/drivers/infiniband/hw/efa/
H A Defa.h129 u32 max_recv_sge; member
H A Defa_verbs.c238 props->max_recv_sge = dev_attr->max_rq_sge; in efa_query_device()
340 qp_attr->cap.max_recv_sge = qp->max_recv_sge; in efa_query_qp()
591 if (init_attr->cap.max_recv_sge > dev->dev_attr.max_rq_sge) { in efa_qp_validate_cap()
594 init_attr->cap.max_recv_sge, dev->dev_attr.max_rq_sge); in efa_qp_validate_cap()
759 qp->max_recv_sge = init_attr->cap.max_recv_sge; in efa_create_qp()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_qp.c454 cap->max_recv_sge = 0; in set_rq_size()
461 cap->max_recv_sge > max_sge) { in set_rq_size()
464 cap->max_recv_wr, cap->max_recv_sge); in set_rq_size()
475 hr_qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge) + in set_rq_size()
484 cap->max_recv_sge = hr_qp->rq.max_gs - hr_qp->rq.rsv_sge; in set_rq_size()
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_transport.c498 qp_attr.cap.max_recv_sge = 1; in svc_rdma_accept()
506 qp_attr.cap.max_send_sge, qp_attr.cap.max_recv_sge); in svc_rdma_accept()
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c96 attr->max_recv_sge = dev->attr.max_recv_sge; in ocrdma_query_device()
1140 if (attrs->cap.max_recv_sge > dev->attr.max_recv_sge) { in ocrdma_check_qp_params()
1142 __func__, dev->id, attrs->cap.max_recv_sge); in ocrdma_check_qp_params()
1144 __func__, dev->id, dev->attr.max_recv_sge); in ocrdma_check_qp_params()
1279 qp->rq.max_sges = attrs->cap.max_recv_sge; in ocrdma_set_qp_init_params()
1488 qp_attr->cap.max_recv_sge = qp->rq.max_sges; in ocrdma_query_qp()
1776 if (init_attr->attr.max_sge > dev->attr.max_recv_sge) in ocrdma_create_srq()
/linux/drivers/infiniband/hw/mana/
H A Dmain.c557 props->max_recv_sge = dev->adapter_caps.max_recv_sge_count; in mana_ib_query_device()
955 req.max_recv_sge = attr->cap.max_recv_sge; in mana_ib_gd_create_rc_qp()
H A Dqp.c132 if (attr->cap.max_recv_sge > MAX_RX_WQE_SGL_ENTRIES) { in mana_ib_create_qp_rss()
135 attr->cap.max_recv_sge); in mana_ib_create_qp_rss()
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c152 .max_recv_sge = IPOIB_UD_RX_SG in ipoib_transport_dev_init()
/linux/drivers/infiniband/sw/rdmavt/
H A Dqp.c1054 if (init_attr->cap.max_recv_sge > in rvt_create_qp()
1055 rdi->dparms.props.max_recv_sge || in rvt_create_qp()
1061 init_attr->cap.max_recv_sge + in rvt_create_qp()
1089 } else if (init_attr->cap.max_recv_sge > 1) in rvt_create_qp()
1091 (init_attr->cap.max_recv_sge - 1); in rvt_create_qp()
1131 qp->r_rq.max_sge = init_attr->cap.max_recv_sge; in rvt_create_qp()
1737 attr->cap.max_recv_sge = qp->r_rq.max_sge; in rvt_query_qp()
/linux/drivers/infiniband/sw/siw/
H A Dsiw_verbs.c154 attr->max_recv_sge = sdev->attrs.max_sge; in siw_query_device()
333 (attrs->cap.max_recv_sge > SIW_MAX_SGE)) { in siw_create_qp()
425 qp->attrs.rq_max_sges = attrs->cap.max_recv_sge; in siw_create_qp()
521 qp_attr->cap.max_recv_sge = qp->attrs.rq_max_sges; in siw_query_qp()
/linux/drivers/infiniband/hw/qedr/
H A 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()

123