Home
last modified time | relevance | path

Searched refs:max_recv_wr (Results 1 – 25 of 58) sorted by relevance

123

/linux/drivers/infiniband/core/
H A Duverbs_std_types_qp.c69 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()
H A Duverbs_marshall.c111 dst->max_recv_wr = src->cap.max_recv_wr; in ib_copy_qp_attr_to_user()
H A Duverbs_cmd.c1330 if (ind_tbl && (cmd->max_recv_wr || cmd->max_recv_sge || cmd->is_srq)) { in create_qp()
1355 cmd->max_recv_wr = 0; in create_qp()
1405 attr.cap.max_recv_wr = cmd->max_recv_wr; in create_qp()
1474 resp.base.max_recv_wr = attr.cap.max_recv_wr; in create_qp()
1518 cmd_ex.max_recv_wr = cmd.max_recv_wr; in ib_uverbs_create_qp()
1697 resp.max_recv_wr = init_attr->cap.max_recv_wr; in ib_uverbs_query_qp()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_misc.c227 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()
H A Dpvrdma_dev_api.h560 u32 max_recv_wr; member
579 u32 max_recv_wr; member
590 u32 max_recv_wr; member
H A Dpvrdma_qp.c134 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()
H A Dpvrdma_verbs.h215 u32 max_recv_wr; member
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs.c256 u32 max_send_wr, u32 max_recv_wr, u32 max_sge) in create_qp() argument
263 init_attr.cap.max_recv_wr = max_recv_wr; in create_qp()
297 u32 max_send_wr, u32 max_recv_wr, in rtrs_cq_qp_create() argument
306 err = create_qp(con, path->dev->ib_pd, max_send_wr, max_recv_wr, in rtrs_cq_qp_create()
H A Drtrs-pri.h317 u32 max_send_wr, u32 max_recv_wr,
/linux/net/sunrpc/xprtrdma/
H A Dfrwr_ops.c247 ep->re_attr.cap.max_recv_wr = ep->re_max_requests; in frwr_query_device()
248 ep->re_attr.cap.max_recv_wr += RPCRDMA_BACKWARD_WRS; in frwr_query_device()
249 ep->re_attr.cap.max_recv_wr += RPCRDMA_MAX_RECV_BATCH; in frwr_query_device()
250 ep->re_attr.cap.max_recv_wr += 1; /* for ib_drain_rq */ in frwr_query_device()
H A Dsvc_rdma_transport.c496 qp_attr.cap.max_recv_wr = rq_depth; in svc_rdma_accept()
504 qp_attr.cap.max_send_wr, qp_attr.cap.max_recv_wr); in svc_rdma_accept()
/linux/include/uapi/linux/
H A Drds.h250 __u32 max_recv_wr; member
266 __u32 max_recv_wr; member
/linux/include/uapi/rdma/
H A Dib_user_verbs.h565 __u32 max_recv_wr; member
594 __u32 max_recv_wr; member
620 __u32 max_recv_wr; member
649 __u32 max_recv_wr; member
693 __u32 max_recv_wr; member
H A Dqedr-abi.h70 __u32 max_recv_wr; member
H A Dib_user_ioctl_verbs.h229 __u32 max_recv_wr; member
H A Dmlx5-abi.h143 __u32 max_recv_wr; member
/linux/drivers/infiniband/hw/qedr/
H A Dqedr_roce_cm.c163 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/drivers/vfio/pci/mlx5/
H A Dcmd.c1167 struct mlx5_vhca_page_tracker *tracker, u32 max_recv_wr) in mlx5vf_create_rc_qp() argument
1186 if (max_recv_wr) { in mlx5vf_create_rc_qp()
1187 qp->rq.wqe_cnt = roundup_pow_of_two(max_recv_wr); in mlx5vf_create_rc_qp()
1219 if (max_recv_wr) { in mlx5vf_create_rc_qp()
1242 if (max_recv_wr) in mlx5vf_create_rc_qp()
1523 u32 max_recv_wr; in mlx5vf_start_page_tracker() local
1555 max_recv_wr = DIV_ROUND_UP_ULL(rq_size, max_msg_size); in mlx5vf_start_page_tracker()
1556 err = mlx5vf_create_cq(mdev, tracker, max_recv_wr); in mlx5vf_start_page_tracker()
1560 host_qp = mlx5vf_create_rc_qp(mdev, tracker, max_recv_wr); in mlx5vf_start_page_tracker()
/linux/net/rds/
H A Dib.c323 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/drivers/infiniband/hw/efa/
H A Defa.h127 u32 max_recv_wr; member
/linux/drivers/infiniband/hw/erdma/
H A Derdma.h138 u32 max_recv_wr; member
H A Derdma_verbs.c321 attr->max_qp_wr = min(dev->attrs.max_send_wr, dev->attrs.max_recv_wr); in erdma_query_device()
448 (attrs->cap.max_recv_wr > dev->attrs.max_recv_wr) || in erdma_qp_validate_cap()
452 !attrs->cap.max_send_wr || !attrs->cap.max_recv_wr) { in erdma_qp_validate_cap()
969 qp->attrs.rq_size = roundup_pow_of_two(attrs->cap.max_recv_wr); in erdma_create_qp()
1584 qp_attr->cap.max_recv_wr = qp->attrs.rq_size; in erdma_query_qp()
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.h188 int max_recv_wr; member
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c149 .max_recv_wr = ipoib_recvq_size, in ipoib_transport_dev_init()
/linux/drivers/infiniband/hw/mana/
H A Dqp.c125 if (attr->cap.max_recv_wr > mdev->adapter_caps.max_qp_wr) { in mana_ib_create_qp_rss()
128 attr->cap.max_recv_wr); in mana_ib_create_qp_rss()

123