/linux/drivers/infiniband/core/ |
H A D | uverbs_std_types_qp.c | 71 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 D | uverbs_marshall.c | 113 dst->max_recv_sge = src->cap.max_recv_sge; in ib_copy_qp_attr_to_user()
|
H A D | uverbs_cmd.c | 341 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 D | pvrdma_misc.c | 229 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 D | pvrdma_dev_api.h | 562 u32 max_recv_sge; member 581 u32 max_recv_sge; member 592 u32 max_recv_sge; member
|
H A D | pvrdma_qp.c | 135 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 D | pvrdma_verbs.h | 217 u32 max_recv_sge; member
|
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_qp.c | 40 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 D | rxe.c | 53 rxe->attr.max_recv_sge = RXE_MAX_SGE; in rxe_init_device_param()
|
/linux/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 567 __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 D | ib_user_ioctl_verbs.h | 231 __u32 max_recv_sge; member
|
/linux/drivers/infiniband/hw/erdma/ |
H A D | erdma_verbs.c | 329 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 D | erdma.h | 143 u32 max_recv_sge; member
|
H A D | erdma_verbs.h | 212 u32 max_recv_sge; member
|
/linux/drivers/infiniband/hw/efa/ |
H A D | efa.h | 129 u32 max_recv_sge; member
|
H A D | efa_verbs.c | 238 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 D | hns_roce_qp.c | 454 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 D | svc_rdma_transport.c | 498 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 D | ocrdma_verbs.c | 96 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 D | main.c | 557 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 D | qp.c | 132 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 D | ipoib_verbs.c | 152 .max_recv_sge = IPOIB_UD_RX_SG in ipoib_transport_dev_init()
|
/linux/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 1054 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 D | siw_verbs.c | 154 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 D | qedr_roce_cm.c | 156 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()
|