Searched refs:max_wr (Results 1 – 14 of 14) sorted by relevance
117 srq_init_attr->attr.max_wr == 0 || in qib_create_srq()118 srq_init_attr->attr.max_wr > ib_qib_max_srq_wrs) { in qib_create_srq()132 srq->rq.size = srq_init_attr->attr.max_wr + 1; in qib_create_srq()225 if ((attr->max_wr > ib_qib_max_srq_wrs) || in qib_modify_srq()227 attr->srq_limit : srq->limit) > attr->max_wr) { in qib_modify_srq()234 size = attr->max_wr + 1; in qib_modify_srq()355 attr->max_wr = srq->rq.size - 1; in qib_query_srq()
115 if (srq_init_attr->attr.max_wr == 0) { in ipath_create_srq()121 (srq_init_attr->attr.max_wr > ib_ipath_max_srq_wrs)) { in ipath_create_srq()135 srq->rq.size = srq_init_attr->attr.max_wr + 1; in ipath_create_srq()229 if ((attr->max_wr > ib_ipath_max_srq_wrs) || in ipath_modify_srq()231 attr->srq_limit : srq->limit) > attr->max_wr) { in ipath_modify_srq()238 size = attr->max_wr + 1; in ipath_modify_srq()355 attr->max_wr = srq->rq.size - 1; in ipath_query_srq()
253 if (init_attr->attr.max_wr >= gen->max_srq_wqes) { in mlx5_ib_create_srq()255 init_attr->attr.max_wr, in mlx5_ib_create_srq()266 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); in mlx5_ib_create_srq()278 desc_size, init_attr->attr.max_wr, srq->msrq.max, srq->msrq.max_gs, in mlx5_ib_create_srq()327 init_attr->attr.max_wr = srq->msrq.max - 1; in mlx5_ib_create_srq()388 srq_attr->max_wr = srq->msrq.max - 1; in mlx5_ib_query_srq()
1220 attr.attr.max_wr = 1; in create_dev_resources()
87 if (init_attr->attr.max_wr >= dev->dev->caps.max_srq_wqes || in mlx4_ib_create_srq()97 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); in mlx4_ib_create_srq()199 init_attr->attr.max_wr = srq->msrq.max - 1; in mlx4_ib_create_srq()266 srq_attr->max_wr = srq->msrq.max - 1; in mlx4_ib_query_srq()
207 if (attr->max_wr > dev->limits.max_srq_wqes || in mthca_alloc_srq()211 srq->max = attr->max_wr; in mthca_alloc_srq()289 attr->max_wr = srq->max - 1; in mthca_alloc_srq()376 u32 max_wr = mthca_is_memfree(dev) ? srq->max - 1 : srq->max; in mthca_modify_srq() local377 if (attr->srq_limit > max_wr) in mthca_modify_srq()413 srq_attr->max_wr = srq->max - 1; in mthca_query_srq()
387 q_size = wqe_size * (queue->max_wr + 1); in ehca_determine_small_queue()688 parms.squeue.max_wr = init_attr->cap.max_send_wr; in internal_create_qp()689 parms.rqueue.max_wr = init_attr->cap.max_recv_wr; in internal_create_qp()695 parms.squeue.max_wr++; 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()2118 srq_attr->max_wr = qpcb->max_nr_outst_recv_wr - 1; in ehca_query_srq()
442 int max_wr; member
315 parms->squeue.max_wr + 1) in hipz_h_alloc_resource_qp()317 parms->rqueue.max_wr + 1) in hipz_h_alloc_resource_qp()
2991 attr.attr.max_wr = cmd->max_wr; in __uverbs_create_xsrq()3028 resp.max_wr = attr.attr.max_wr; in __uverbs_create_xsrq()3099 xcmd.max_wr = cmd.max_wr; in ib_uverbs_create_srq()3159 attr.max_wr = cmd.max_wr; in ib_uverbs_modify_srq()3198 resp.max_wr = attr.max_wr; in ib_uverbs_query_srq()
2513 max_rqe_allocated = srq_attr->attr.max_wr + 1; in ocrdma_mbx_create_srq()2519 srq_attr->attr.max_wr); in ocrdma_mbx_create_srq()2605 srq_attr->max_wr = in ocrdma_mbx_query_srq()
1718 if (init_attr->attr.max_wr > dev->attr.max_rqe) in ocrdma_create_srq()
1504 .max_wr = ipoib_recvq_size, in ipoib_cm_create_srq()
3175 srq_attr.attr.max_wr = sdev->srq_size; in srpt_add_one()