/linux-6.1.9/drivers/infiniband/core/ |
D | uverbs_std_types_qp.c | 69 attr->cap.max_recv_wr = cap->max_recv_wr; in set_caps() 75 cap->max_recv_wr = attr->cap.max_recv_wr; in set_caps() 159 if (cap.max_recv_wr || cap.max_recv_sge || in UVERBS_HANDLER()
|
D | uverbs_marshall.c | 111 dst->max_recv_wr = src->cap.max_recv_wr; in ib_copy_qp_attr_to_user()
|
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_misc.c | 227 dst->max_recv_wr = src->max_recv_wr; in pvrdma_qp_cap_to_ib() 236 dst->max_recv_wr = src->max_recv_wr; in ib_qp_cap_to_pvrdma()
|
D | pvrdma_dev_api.h | 560 u32 max_recv_wr; member 579 u32 max_recv_wr; member 590 u32 max_recv_wr; member
|
D | pvrdma_qp.c | 134 if (req_cap->max_recv_wr > dev->dsr->caps.max_qp_wr || in pvrdma_set_rq_size() 140 qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, req_cap->max_recv_wr)); in pvrdma_set_rq_size() 144 req_cap->max_recv_wr = qp->rq.wqe_cnt; in pvrdma_set_rq_size() 366 cmd->max_recv_wr = init_attr->cap.max_recv_wr; in pvrdma_create_qp() 380 cmd->max_send_wr, cmd->max_recv_wr, cmd->max_send_sge, in pvrdma_create_qp()
|
/linux-6.1.9/drivers/infiniband/ulp/rtrs/ |
D | rtrs.c | 254 u32 max_send_wr, u32 max_recv_wr, u32 max_sge) in create_qp() argument 261 init_attr.cap.max_recv_wr = max_recv_wr; in create_qp() 295 u32 max_send_wr, u32 max_recv_wr, in rtrs_cq_qp_create() argument 304 err = create_qp(con, path->dev->ib_pd, max_send_wr, max_recv_wr, in rtrs_cq_qp_create()
|
D | rtrs-pri.h | 318 u32 max_send_wr, u32 max_recv_wr,
|
/linux-6.1.9/include/uapi/linux/ |
D | rds.h | 250 __u32 max_recv_wr; member 266 __u32 max_recv_wr; member
|
/linux-6.1.9/net/sunrpc/xprtrdma/ |
D | frwr_ops.c | 246 ep->re_attr.cap.max_recv_wr = ep->re_max_requests; in frwr_query_device() 247 ep->re_attr.cap.max_recv_wr += RPCRDMA_BACKWARD_WRS; in frwr_query_device() 248 ep->re_attr.cap.max_recv_wr += RPCRDMA_MAX_RECV_BATCH; in frwr_query_device() 249 ep->re_attr.cap.max_recv_wr += 1; /* for ib_drain_rq */ in frwr_query_device()
|
D | svc_rdma_transport.c | 449 qp_attr.cap.max_recv_wr = rq_depth; in svc_rdma_accept() 459 qp_attr.cap.max_send_wr, qp_attr.cap.max_recv_wr); in svc_rdma_accept()
|
/linux-6.1.9/drivers/vfio/pci/mlx5/ |
D | cmd.c | 757 struct mlx5_vhca_page_tracker *tracker, u32 max_recv_wr) in mlx5vf_create_rc_qp() argument 772 qp->rq.wqe_cnt = roundup_pow_of_two(max_recv_wr); in mlx5vf_create_rc_qp() 779 if (max_recv_wr) { in mlx5vf_create_rc_qp() 809 if (max_recv_wr) { in mlx5vf_create_rc_qp() 832 if (max_recv_wr) in mlx5vf_create_rc_qp() 1111 u32 max_recv_wr; in mlx5vf_start_page_tracker() local 1137 max_recv_wr = DIV_ROUND_UP_ULL(rq_size, max_msg_size); in mlx5vf_start_page_tracker() 1138 err = mlx5vf_create_cq(mdev, tracker, max_recv_wr); in mlx5vf_start_page_tracker() 1142 host_qp = mlx5vf_create_rc_qp(mdev, tracker, max_recv_wr); in mlx5vf_start_page_tracker()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 437 cap->max_recv_wr = 0; in set_rq_size() 444 if (!cap->max_recv_wr || cap->max_recv_wr > hr_dev->caps.max_wqes || in set_rq_size() 448 cap->max_recv_wr, cap->max_recv_sge); in set_rq_size() 452 cnt = roundup_pow_of_two(max(cap->max_recv_wr, hr_dev->caps.min_wqes)); in set_rq_size() 455 cap->max_recv_wr); in set_rq_size() 473 cap->max_recv_wr = cnt; in set_rq_size() 729 !attr->cap.max_recv_wr) in hns_roce_qp_has_rq()
|
/linux-6.1.9/include/uapi/rdma/ |
D | qedr-abi.h | 70 __u32 max_recv_wr; member
|
D | ib_user_verbs.h | 551 __u32 max_recv_wr; member 580 __u32 max_recv_wr; member 606 __u32 max_recv_wr; member 635 __u32 max_recv_wr; member 679 __u32 max_recv_wr; member
|
D | ib_user_ioctl_verbs.h | 226 __u32 max_recv_wr; member
|
D | mlx5-abi.h | 142 __u32 max_recv_wr; member
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_qp.c | 34 if (cap->max_recv_wr > rxe->attr.max_qp_wr) { in rxe_qp_chk_cap() 36 cap->max_recv_wr, rxe->attr.max_qp_wr); in rxe_qp_chk_cap() 268 qp->rq.max_wr = init->cap.max_recv_wr; in rxe_qp_init_resp() 381 init->cap.max_recv_wr = qp->rq.max_wr; in rxe_qp_to_init() 744 attr->cap.max_recv_wr = qp->rq.max_wr; in rxe_qp_to_attr()
|
/linux-6.1.9/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 163 if (attrs->cap.max_recv_wr > QEDR_GSI_MAX_RECV_WR) { in qedr_check_gsi_qp_attrs() 166 attrs->cap.max_recv_wr, QEDR_GSI_MAX_RECV_WR); in qedr_check_gsi_qp_attrs() 279 data.input.rx_num_desc = attrs->cap.max_recv_wr; in qedr_ll2_start() 339 qp->rq.max_wr = attrs->cap.max_recv_wr; in qedr_create_gsi_qp()
|
/linux-6.1.9/net/rds/ |
D | ib.c | 323 iinfo->max_recv_wr = ic->i_recv_ring.w_nr; in rds_ib_conn_info_visitor() 360 iinfo6->max_recv_wr = ic->i_recv_ring.w_nr; in rds6_ib_conn_info_visitor()
|
/linux-6.1.9/drivers/infiniband/hw/efa/ |
D | efa.h | 116 u32 max_recv_wr; member
|
D | efa_verbs.c | 326 qp_attr->cap.max_recv_wr = qp->max_recv_wr; in efa_query_qp() 566 if (init_attr->cap.max_recv_wr > dev->dev_attr.max_rq_depth) { in efa_qp_validate_cap() 569 init_attr->cap.max_recv_wr, in efa_qp_validate_cap() 695 create_qp_params.rq_depth = init_attr->cap.max_recv_wr; in efa_create_qp() 731 qp->max_recv_wr = init_attr->cap.max_recv_wr; in efa_create_qp()
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_verbs.c | 275 attr->max_qp_wr = min(dev->attrs.max_send_wr, dev->attrs.max_recv_wr); in erdma_query_device() 383 (attrs->cap.max_recv_wr > dev->attrs.max_recv_wr) || in erdma_qp_validate_cap() 387 !attrs->cap.max_send_wr || !attrs->cap.max_recv_wr) { in erdma_qp_validate_cap() 705 qp->attrs.rq_size = roundup_pow_of_two(attrs->cap.max_recv_wr); in erdma_create_qp() 1309 qp_attr->cap.max_recv_wr = qp->attrs.rq_size; in erdma_query_qp()
|
D | erdma.h | 139 u32 max_recv_wr; member
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | verbs.h | 183 int max_recv_wr; member
|
/linux-6.1.9/drivers/infiniband/ulp/ipoib/ |
D | ipoib_verbs.c | 149 .max_recv_wr = ipoib_recvq_size, in ipoib_transport_dev_init()
|