/drivers/infiniband/core/ |
D | uverbs_marshall.c | 69 dst->max_recv_wr = src->cap.max_recv_wr; in ib_copy_qp_attr_to_user()
|
D | uverbs_cmd.c | 1629 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()
|
D | mad.c | 2880 qp_init_attr.cap.max_recv_wr = mad_recvq_size; in create_mad_qp()
|
/drivers/infiniband/hw/mlx5/ |
D | user.h | 80 __u32 max_recv_wr; member
|
D | qp.c | 167 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()
|
D | main.c | 528 resp.max_recv_wr = gen->max_wqes; in mlx5_ib_alloc_ucontext()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_qp.c | 636 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/ |
D | ehca_qp.c | 554 (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()
|
D | ehca_main.c | 562 qp_init_attr.cap.max_recv_wr = 100; in ehca_create_aqp1()
|
/drivers/infiniband/hw/qib/ |
D | qib_qp.c | 870 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/ |
D | iwch_provider.c | 912 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/ |
D | qp.c | 1637 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/ |
D | ipoib_verbs.c | 137 .max_recv_wr = ipoib_recvq_size, in ipoib_transport_dev_init()
|
D | ipoib_cm.c | 265 attr.cap.max_recv_wr = ipoib_recvq_size; in ipoib_cm_create_rx_qp()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 499 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()
|
D | mthca_provider.c | 619 init_attr->cap.max_recv_wr = qp->rq.max; in mthca_create_qp()
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 386 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()
|
D | mad.c | 1596 qp_init_attr.init_attr.cap.max_recv_wr = MLX4_NUM_TUNNEL_BUFS; in create_pv_sqp()
|
/drivers/infiniband/hw/amso1100/ |
D | c2_qp.c | 465 wr.rq_depth = cpu_to_be32(qp_attrs->cap.max_recv_wr + 1); in c2_alloc_qp()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1056 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()
|
D | ocrdma_hw.c | 2032 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/ |
D | iser_verbs.c | 455 init_attr.cap.max_recv_wr = ISER_QP_MAX_RECV_DTOS; in iser_create_ib_conn_res()
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 783 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/ |
D | nes_verbs.c | 1146 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/ |
D | ib_srp.c | 479 init_attr->cap.max_recv_wr = target->queue_size; in srp_create_target_ib()
|