Searched refs:max_wr (Results 1 – 8 of 8) sorted by relevance
109 if (srq_init_attr->attr.max_wr == 0) { in ipath_create_srq()115 (srq_init_attr->attr.max_wr > ib_ipath_max_srq_wrs)) { in ipath_create_srq()129 srq->rq.size = srq_init_attr->attr.max_wr + 1; in ipath_create_srq()223 if ((attr->max_wr > ib_ipath_max_srq_wrs) || in ipath_modify_srq()225 attr->srq_limit : srq->limit) > attr->max_wr) { in ipath_modify_srq()232 size = attr->max_wr + 1; in ipath_modify_srq()349 attr->max_wr = srq->rq.size - 1; in ipath_query_srq()
83 if (init_attr->attr.max_wr >= dev->dev->caps.max_srq_wqes || in mlx4_ib_create_srq()93 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); in mlx4_ib_create_srq()183 init_attr->attr.max_wr = srq->msrq.max - 1; in mlx4_ib_create_srq()250 srq_attr->max_wr = srq->msrq.max - 1; in mlx4_ib_query_srq()
208 if (attr->max_wr > dev->limits.max_srq_wqes || in mthca_alloc_srq()212 srq->max = attr->max_wr; in mthca_alloc_srq()296 attr->max_wr = srq->max - 1; in mthca_alloc_srq()389 u32 max_wr = mthca_is_memfree(dev) ? srq->max - 1 : srq->max; in mthca_modify_srq() local390 if (attr->srq_limit > max_wr) in mthca_modify_srq()432 srq_attr->max_wr = srq->max - 1; in mthca_query_srq()
1985 attr.attr.max_wr = cmd.max_wr; in ib_uverbs_create_srq()2013 resp.max_wr = attr.attr.max_wr; in ib_uverbs_create_srq()2068 attr.max_wr = cmd.max_wr; in ib_uverbs_modify_srq()2107 resp.max_wr = attr.max_wr; in ib_uverbs_query_srq()
387 q_size = wqe_size * (queue->max_wr + 1); in ehca_determine_small_queue()690 parms.squeue.max_wr = init_attr->cap.max_send_wr; in internal_create_qp()691 parms.rqueue.max_wr = init_attr->cap.max_recv_wr; in internal_create_qp()697 parms.squeue.max_wr++; in internal_create_qp()983 qp_init_attr.cap.max_recv_wr = srq_init_attr->attr.max_wr; in ehca_create_srq()991 srq_init_attr->attr.max_wr = qp_init_attr.cap.max_recv_wr; in ehca_create_srq()2116 srq_attr->max_wr = qpcb->max_nr_outst_recv_wr - 1; in ehca_query_srq()
322 parms->squeue.max_wr + 1) in hipz_h_alloc_resource_qp()324 parms->rqueue.max_wr + 1) in hipz_h_alloc_resource_qp()
441 int max_wr; member
1504 .max_wr = ipoib_recvq_size, in ipoib_cm_create_srq()