Home
last modified time | relevance | path

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

12

/drivers/infiniband/core/
Duverbs_marshall.c69 dst->max_recv_wr = src->cap.max_recv_wr; in ib_copy_qp_attr_to_user()
Duverbs_cmd.c1629 cmd.max_recv_wr = cmd.max_recv_sge = 0; in ib_uverbs_create_qp()
1670 attr.cap.max_recv_wr = cmd.max_recv_wr; in ib_uverbs_create_qp()
1719 resp.max_recv_wr = attr.cap.max_recv_wr; in ib_uverbs_create_qp()
1954 resp.max_recv_wr = init_attr->cap.max_recv_wr; in ib_uverbs_query_qp()
Dmad.c2880 qp_init_attr.cap.max_recv_wr = mad_recvq_size; in create_mad_qp()
/drivers/infiniband/hw/mlx5/
Duser.h80 __u32 max_recv_wr; member
Dqp.c167 if (cap->max_recv_wr > gen->max_wqes) in set_rq_size()
184 wq_size = roundup_pow_of_two(cap->max_recv_wr) * wqe_size; in set_rq_size()
351 !attr->cap.max_recv_wr) in qp_has_rq()
2965 qp_attr->cap.max_recv_wr = qp->rq.wqe_cnt; in mlx5_ib_query_qp()
Dmain.c528 resp.max_recv_wr = gen->max_wqes; in mlx5_ib_alloc_ucontext()
/drivers/infiniband/hw/ipath/
Dipath_qp.c636 attr->cap.max_recv_wr = qp->ibqp.srq ? 0 : qp->r_rq.size - 1; in ipath_query_qp()
767 init_attr->cap.max_recv_wr > ib_ipath_max_qp_wrs) { in ipath_create_qp()
774 init_attr->cap.max_recv_wr == 0) { in ipath_create_qp()
825 init_attr->cap.max_recv_wr = 0; in ipath_create_qp()
828 qp->r_rq.size = init_attr->cap.max_recv_wr + 1; in ipath_create_qp()
/drivers/infiniband/hw/ehca/
Dehca_qp.c554 (init_attr->cap.max_recv_wr > 255)) { in internal_create_qp()
559 init_attr->cap.max_recv_wr); in internal_create_qp()
689 parms.rqueue.max_wr = init_attr->cap.max_recv_wr; in internal_create_qp()
746 parms.rqueue.act_nr_wqes = init_attr->cap.max_recv_wr; in internal_create_qp()
840 init_attr->cap.max_recv_wr = parms.rqueue.act_nr_wqes; in internal_create_qp()
987 qp_init_attr.cap.max_recv_wr = srq_init_attr->attr.max_wr; in ehca_create_srq()
995 srq_init_attr->attr.max_wr = qp_init_attr.cap.max_recv_wr; in ehca_create_srq()
1683 mqpcb->max_nr_outst_recv_wr = attr->cap.max_recv_wr+1; in internal_modify_qp()
1947 qp_attr->cap.max_recv_wr = qpcb->max_nr_outst_recv_wr-1; in ehca_query_qp()
Dehca_main.c562 qp_init_attr.cap.max_recv_wr = 100; in ehca_create_aqp1()
/drivers/infiniband/hw/qib/
Dqib_qp.c870 attr->cap.max_recv_wr = qp->ibqp.srq ? 0 : qp->r_rq.size - 1; in qib_query_qp()
1006 init_attr->cap.max_recv_wr > ib_qib_max_qp_wrs) { in qib_create_qp()
1013 init_attr->cap.max_recv_wr == 0) { in qib_create_qp()
1067 qp->r_rq.size = init_attr->cap.max_recv_wr + 1; in qib_create_qp()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c912 rqsize = roundup_pow_of_two(attrs->cap.max_recv_wr); in iwch_create_qp()
913 if (rqsize == attrs->cap.max_recv_wr) in iwch_create_qp()
914 rqsize = roundup_pow_of_two(attrs->cap.max_recv_wr+1); in iwch_create_qp()
956 attrs->cap.max_recv_wr = rqsize - 1; in iwch_create_qp()
965 qhp->attr.rq_num_entries = attrs->cap.max_recv_wr; in iwch_create_qp()
/drivers/infiniband/hw/cxgb4/
Dqp.c1637 if (attrs->cap.max_recv_wr > rhp->rdev.hw_queue.t4_max_rq_size) in c4iw_create_qp()
1639 rqsize = attrs->cap.max_recv_wr + 1; in c4iw_create_qp()
1674 attrs->cap.max_recv_wr = rqsize - 1; in c4iw_create_qp()
1683 qhp->attr.rq_num_entries = attrs->cap.max_recv_wr; in c4iw_create_qp()
1791 qhp->wq.rq.memsize, attrs->cap.max_recv_wr); in c4iw_create_qp()
1880 init_attr->cap.max_recv_wr = qhp->attr.rq_num_entries; in c4iw_ib_query_qp()
/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c137 .max_recv_wr = ipoib_recvq_size, in ipoib_transport_dev_init()
Dipoib_cm.c265 attr.cap.max_recv_wr = ipoib_recvq_size; in ipoib_cm_create_rx_qp()
/drivers/infiniband/hw/mthca/
Dmthca_qp.c499 qp_attr->cap.max_recv_wr = qp->rq.max; in mthca_query_qp()
1237 cap->max_recv_wr > dev->limits.max_wqes || in mthca_set_qp_size()
1251 qp->rq.max = cap->max_recv_wr ? in mthca_set_qp_size()
1252 roundup_pow_of_two(cap->max_recv_wr) : 0; in mthca_set_qp_size()
1256 qp->rq.max = cap->max_recv_wr; in mthca_set_qp_size()
Dmthca_provider.c619 init_attr->cap.max_recv_wr = qp->rq.max; in mthca_create_qp()
/drivers/infiniband/hw/mlx4/
Dqp.c386 if (cap->max_recv_wr > dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE || in set_rq_size()
391 if (cap->max_recv_wr) in set_rq_size()
397 if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge)) in set_rq_size()
400 qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, cap->max_recv_wr)); in set_rq_size()
407 cap->max_recv_wr = qp->rq.max_post = qp->rq.wqe_cnt; in set_rq_size()
410 cap->max_recv_wr = qp->rq.max_post = in set_rq_size()
3115 qp_attr->cap.max_recv_wr = qp->rq.wqe_cnt; in mlx4_ib_query_qp()
Dmad.c1596 qp_init_attr.init_attr.cap.max_recv_wr = MLX4_NUM_TUNNEL_BUFS; in create_pv_sqp()
/drivers/infiniband/hw/amso1100/
Dc2_qp.c465 wr.rq_depth = cpu_to_be32(qp_attrs->cap.max_recv_wr + 1); in c2_alloc_qp()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1056 if (!attrs->srq && (attrs->cap.max_recv_wr > dev->attr.max_rqe)) { in ocrdma_check_qp_params()
1058 __func__, dev->id, attrs->cap.max_recv_wr); in ocrdma_check_qp_params()
1427 qp_attr->cap.max_recv_wr = qp->rq.max_cnt - 1; in ocrdma_query_qp()
Docrdma_hw.c2032 u32 max_rqe_allocated = attrs->cap.max_recv_wr + 1; in ocrdma_set_create_qp_rq_cmd()
2038 attrs->cap.max_recv_wr + 1); in ocrdma_set_create_qp_rq_cmd()
/drivers/infiniband/ulp/iser/
Diser_verbs.c455 init_attr.cap.max_recv_wr = ISER_QP_MAX_RECV_DTOS; in iser_create_ib_conn_res()
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c783 init_qp_attr->cap.max_recv_wr = IBLND_RECV_WRS(version); in kiblnd_create_conn()
797 init_qp_attr->cap.max_recv_wr); in kiblnd_create_conn()
/drivers/infiniband/hw/nes/
Dnes_verbs.c1146 rq_size = init_attr->cap.max_recv_wr; in nes_create_qp()
1159 init_attr->cap.max_recv_wr = rq_size -1; in nes_create_qp()
2828 attr->cap.max_recv_wr = nesqp->hwqp.rq_size; in nes_query_qp()
/drivers/infiniband/ulp/srp/
Dib_srp.c479 init_attr->cap.max_recv_wr = target->queue_size; in srp_create_target_ib()

12