/linux-6.1.9/drivers/infiniband/core/ |
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()
|
D | uverbs_marshall.c | 113 dst->max_recv_sge = src->cap.max_recv_sge; in ib_copy_qp_attr_to_user()
|
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-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
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()
|
D | pvrdma_dev_api.h | 562 u32 max_recv_sge; member 581 u32 max_recv_sge; member 592 u32 max_recv_sge; member
|
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()
|
D | pvrdma_verbs.h | 217 u32 max_recv_sge; member
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
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() 269 qp->rq.max_sge = init->cap.max_recv_sge; in rxe_qp_init_resp() 382 init->cap.max_recv_sge = qp->rq.max_sge; in rxe_qp_to_init() 745 attr->cap.max_recv_sge = qp->rq.max_sge; in rxe_qp_to_attr()
|
D | rxe.c | 51 rxe->attr.max_recv_sge = RXE_MAX_SGE; in rxe_init_device_param()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 438 cap->max_recv_sge = 0; in set_rq_size() 445 cap->max_recv_sge > max_sge) { in set_rq_size() 448 cap->max_recv_wr, cap->max_recv_sge); in set_rq_size() 459 hr_qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge) + in set_rq_size() 474 cap->max_recv_sge = hr_qp->rq.max_gs - hr_qp->rq.rsv_sge; in set_rq_size() 738 u32 max_recv_sge = init_attr->cap.max_recv_sge; in alloc_rq_inline_buf() local 750 wqe_list[0].sg_list = kcalloc(wqe_cnt, (max_recv_sge * in alloc_rq_inline_buf() 758 wqe_list[i].sg_list = &wqe_list[0].sg_list[i * max_recv_sge]; in alloc_rq_inline_buf()
|
/linux-6.1.9/include/uapi/rdma/ |
D | ib_user_verbs.h | 553 __u32 max_recv_sge; member 582 __u32 max_recv_sge; member 608 __u32 max_recv_sge; member 637 __u32 max_recv_sge; member 681 __u32 max_recv_sge; member
|
D | ib_user_ioctl_verbs.h | 228 __u32 max_recv_sge; member
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_verbs.c | 283 attr->max_recv_sge = dev->attrs.max_recv_sge; in erdma_query_device() 385 (attrs->cap.max_recv_sge > dev->attrs.max_recv_sge) || in erdma_qp_validate_cap() 733 qp->attrs.max_recv_sge = attrs->cap.max_recv_sge; in erdma_create_qp() 1311 qp_attr->cap.max_recv_sge = qp->attrs.max_recv_sge; in erdma_query_qp()
|
D | erdma.h | 144 u32 max_recv_sge; member
|
D | erdma_verbs.h | 182 u32 max_recv_sge; member
|
/linux-6.1.9/drivers/infiniband/hw/efa/ |
D | efa.h | 118 u32 max_recv_sge; member
|
D | efa_verbs.c | 235 props->max_recv_sge = dev_attr->max_rq_sge; in efa_query_device() 328 qp_attr->cap.max_recv_sge = qp->max_recv_sge; in efa_query_qp() 579 if (init_attr->cap.max_recv_sge > dev->dev_attr.max_rq_sge) { in efa_qp_validate_cap() 582 init_attr->cap.max_recv_sge, dev->dev_attr.max_rq_sge); in efa_qp_validate_cap() 733 qp->max_recv_sge = init_attr->cap.max_recv_sge; in efa_create_qp()
|
/linux-6.1.9/net/sunrpc/xprtrdma/ |
D | svc_rdma_transport.c | 451 qp_attr.cap.max_recv_sge = 1; in svc_rdma_accept() 461 qp_attr.cap.max_send_sge, qp_attr.cap.max_recv_sge); in svc_rdma_accept()
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 96 attr->max_recv_sge = dev->attr.max_recv_sge; in ocrdma_query_device() 1139 if (attrs->cap.max_recv_sge > dev->attr.max_recv_sge) { in ocrdma_check_qp_params() 1141 __func__, dev->id, attrs->cap.max_recv_sge); in ocrdma_check_qp_params() 1143 __func__, dev->id, dev->attr.max_recv_sge); in ocrdma_check_qp_params() 1278 qp->rq.max_sges = attrs->cap.max_recv_sge; in ocrdma_set_qp_init_params() 1487 qp_attr->cap.max_recv_sge = qp->rq.max_sges; in ocrdma_query_qp() 1777 if (init_attr->attr.max_sge > dev->attr.max_recv_sge) in ocrdma_create_srq()
|
D | ocrdma.h | 94 int max_recv_sge; member
|
/linux-6.1.9/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 152 .max_recv_sge = IPOIB_UD_RX_SG in ipoib_transport_dev_init()
|
/linux-6.1.9/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 148 attr->max_recv_sge = sdev->attrs.max_sge; in siw_query_device() 327 (attrs->cap.max_recv_sge > SIW_MAX_SGE)) { in siw_create_qp() 427 qp->attrs.rq_max_sges = attrs->cap.max_recv_sge; in siw_create_qp() 522 qp_attr->cap.max_recv_sge = qp->attrs.rq_max_sges; in siw_query_qp()
|
/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 1056 if (init_attr->cap.max_recv_sge > in rvt_create_qp() 1057 rdi->dparms.props.max_recv_sge || in rvt_create_qp() 1063 init_attr->cap.max_recv_sge + in rvt_create_qp() 1091 } else if (init_attr->cap.max_recv_sge > 1) in rvt_create_qp() 1093 (init_attr->cap.max_recv_sge - 1); in rvt_create_qp() 1133 qp->r_rq.max_sge = init_attr->cap.max_recv_sge; in rvt_create_qp() 1739 attr->cap.max_recv_sge = qp->r_rq.max_sge; in rvt_query_qp()
|
/linux-6.1.9/drivers/infiniband/hw/qedr/ |
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()
|
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 157 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() 1392 init_attr->cap.max_recv_sge > dev_attr->max_qp_sges || in bnxt_re_test_qp_limits() 1399 init_attr->cap.max_recv_sge, dev_attr->max_qp_sges, in bnxt_re_test_qp_limits() 2004 (qp_attr->cap.max_recv_sge >= dev_attr->max_qp_sges) || in bnxt_re_modify_qp() 2029 qp->qplib_qp.rq.max_sge = qp_attr->cap.max_recv_sge; in bnxt_re_modify_qp() 2099 qp_attr->cap.max_recv_sge = qp->qplib_qp.rq.max_sge; in bnxt_re_query_qp()
|