/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_misc.c | 235 dst->max_recv_sge = src->max_recv_sge; in pvrdma_qp_cap_to_ib() 244 dst->max_recv_sge = src->max_recv_sge; in ib_qp_cap_to_pvrdma()
|
D | pvrdma_qp.c | 132 req_cap->max_recv_sge > dev->dsr->caps.max_sge) { in pvrdma_set_rq_size() 138 qp->rq.max_sg = roundup_pow_of_two(max(1U, req_cap->max_recv_sge)); in pvrdma_set_rq_size() 142 req_cap->max_recv_sge = qp->rq.max_sg; in pvrdma_set_rq_size() 361 cmd->max_recv_sge = init_attr->cap.max_recv_sge; in pvrdma_create_qp() 374 cmd->max_recv_sge); in pvrdma_create_qp()
|
D | pvrdma_dev_api.h | 556 u32 max_recv_sge; member 575 u32 max_recv_sge; member
|
D | pvrdma_verbs.h | 252 u32 max_recv_sge; member
|
D | pvrdma_verbs.c | 86 props->max_recv_sge = dev->dsr->caps.max_sge; in pvrdma_query_device()
|
/Linux-v4.19/drivers/infiniband/sw/rxe/ |
D | rxe_qp.c | 65 if (cap->max_recv_sge > rxe->attr.max_recv_sge) { in rxe_qp_chk_cap() 67 cap->max_recv_sge, rxe->attr.max_recv_sge); in rxe_qp_chk_cap() 286 qp->rq.max_sge = init->cap.max_recv_sge; in rxe_qp_init_resp() 389 init->cap.max_recv_sge = qp->rq.max_sge; in rxe_qp_to_init() 752 attr->cap.max_recv_sge = qp->rq.max_sge; in rxe_qp_to_attr()
|
D | rxe.c | 95 rxe->attr.max_recv_sge = RXE_MAX_SGE; in rxe_init_device_param()
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 290 cap->max_recv_sge > hr_dev->caps.max_rq_sg) { in hns_roce_set_rq_size() 292 cap->max_recv_wr, cap->max_recv_sge); in hns_roce_set_rq_size() 305 if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge)) { in hns_roce_set_rq_size() 322 max_cnt = max(1U, cap->max_recv_sge); in hns_roce_set_rq_size() 334 cap->max_recv_sge = hr_qp->rq.max_gs; in hns_roce_set_rq_size() 562 init_attr->cap.max_recv_sge * in hns_roce_create_qp_common() 574 init_attr->cap.max_recv_sge]; in hns_roce_create_qp_common()
|
/Linux-v4.19/include/uapi/rdma/ |
D | ib_user_verbs.h | 531 __u32 max_recv_sge; member 560 __u32 max_recv_sge; member 600 __u32 max_recv_sge; member 629 __u32 max_recv_sge; member 672 __u32 max_recv_sge; member
|
/Linux-v4.19/drivers/infiniband/core/ |
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 | 203 resp->max_sge = min(attr->max_send_sge, attr->max_recv_sge); in copy_query_dev_fields() 1397 if (ind_tbl && (cmd->max_recv_wr || cmd->max_recv_sge || cmd->is_srq)) { in create_qp() 1423 cmd->max_recv_sge = 0; in create_qp() 1476 attr.cap.max_recv_sge = cmd->max_recv_sge; in create_qp() 1562 resp.base.max_recv_sge = attr.cap.max_recv_sge; in create_qp() 1658 cmd_ex.max_recv_sge = cmd.max_recv_sge; in ib_uverbs_create_qp() 1892 resp.max_recv_sge = init_attr->cap.max_recv_sge; in ib_uverbs_query_qp()
|
/Linux-v4.19/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 790 if (init_attr->cap.max_recv_sge > in rvt_create_qp() 791 rdi->dparms.props.max_recv_sge || in rvt_create_qp() 797 init_attr->cap.max_recv_sge + in rvt_create_qp() 829 } else if (init_attr->cap.max_recv_sge > 1) in rvt_create_qp() 831 (init_attr->cap.max_recv_sge - 1); in rvt_create_qp() 870 qp->r_rq.max_sge = init_attr->cap.max_recv_sge; in rvt_create_qp() 1497 attr->cap.max_recv_sge = qp->r_rq.max_sge; in rvt_query_qp()
|
/Linux-v4.19/net/sunrpc/xprtrdma/ |
D | svc_rdma_transport.c | 533 qp_attr.cap.max_recv_sge = 1; in svc_rdma_accept() 543 qp_attr.cap.max_send_sge, qp_attr.cap.max_recv_sge); in svc_rdma_accept()
|
D | verbs.c | 526 ep->rep_attr.cap.max_recv_sge = 1; in rpcrdma_ep_create() 538 ep->rep_attr.cap.max_recv_sge); in rpcrdma_ep_create()
|
/Linux-v4.19/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 93 attr->max_recv_sge = dev->attr.max_recv_sge; in ocrdma_query_device() 1212 if (attrs->cap.max_recv_sge > dev->attr.max_recv_sge) { in ocrdma_check_qp_params() 1214 __func__, dev->id, attrs->cap.max_recv_sge); in ocrdma_check_qp_params() 1216 __func__, dev->id, dev->attr.max_recv_sge); in ocrdma_check_qp_params() 1351 qp->rq.max_sges = attrs->cap.max_recv_sge; in ocrdma_set_qp_init_params() 1561 qp_attr->cap.max_recv_sge = qp->rq.max_sges; in ocrdma_query_qp() 1850 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-v4.19/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 152 .max_recv_sge = IPOIB_UD_RX_SG in ipoib_transport_dev_init()
|
/Linux-v4.19/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-v4.19/drivers/infiniband/hw/mlx4/ |
D | qp.c | 331 cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg)) in set_rq_size() 345 if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge || in set_rq_size() 350 qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge)); in set_rq_size() 358 cap->max_recv_sge = qp->rq.max_gs; in set_rq_size() 362 cap->max_recv_sge = min(qp->rq.max_gs, in set_rq_size() 888 init_attr->cap.max_recv_sge++; in create_qp_common() 4006 qp_attr->cap.max_recv_sge = qp->rq.max_gs; in mlx4_ib_query_qp() 4097 ib_qp_init_attr.cap.max_recv_sge = init_attr->max_sge; in mlx4_ib_create_wq()
|
/Linux-v4.19/drivers/infiniband/hw/i40iw/ |
D | i40iw_verbs.c | 75 props->max_recv_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; in i40iw_query_device() 599 if (init_attr->cap.max_recv_sge > I40IW_MAX_WQ_FRAGMENT_COUNT) in i40iw_create_qp() 600 init_attr->cap.max_recv_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; in i40iw_create_qp() 611 init_info.qp_uk_init_info.max_rq_frag_cnt = init_attr->cap.max_recv_sge; in i40iw_create_qp() 814 attr->cap.max_recv_sge = I40IW_MAX_WQ_FRAGMENT_COUNT; in i40iw_query_qp()
|
/Linux-v4.19/net/smc/ |
D | smc_ib.c | 333 .max_recv_sge = 1, in smc_ib_create_queue_pair()
|
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 170 ib_attr->max_recv_sge = dev_attr->max_qp_sges; in bnxt_re_query_device() 1053 (qp_init_attr->cap.max_recv_sge > dev_attr->max_qp_sges) || in bnxt_re_create_qp() 1125 qp->qplib_qp.rq.max_sge = qp_init_attr->cap.max_recv_sge; in bnxt_re_create_qp() 1775 (qp_attr->cap.max_recv_sge >= dev_attr->max_qp_sges) || in bnxt_re_modify_qp() 1800 qp->qplib_qp.rq.max_sge = qp_attr->cap.max_recv_sge; in bnxt_re_modify_qp() 1869 qp_attr->cap.max_recv_sge = qp->qplib_qp.rq.max_sge; in bnxt_re_query_qp()
|
/Linux-v4.19/net/9p/ |
D | trans_rdma.c | 720 qp_attr.cap.max_recv_sge = P9_RDMA_RECV_SGE; in rdma_create_trans()
|
/Linux-v4.19/drivers/nvme/target/ |
D | rdma.c | 917 cm_id->device->attrs.max_recv_sge) - 1; in nvmet_rdma_find_get_device() 1001 qp_attr.cap.max_recv_sge = 1 + ndev->inline_page_count; in nvmet_rdma_create_queue_ib()
|
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 100 props->max_recv_sge = mdev->limits.max_sg; in mthca_query_device() 629 init_attr->cap.max_recv_sge = qp->rq.max_gs; in mthca_create_qp()
|