Home
last modified time | relevance | path

Searched refs:max_wr (Results 1 – 11 of 11) sorted by relevance

/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_srq.c110 if (srq_init_attr->attr.max_wr == 0) { in ipath_create_srq()
116 (srq_init_attr->attr.max_wr > ib_ipath_max_srq_wrs)) { in ipath_create_srq()
130 srq->rq.size = srq_init_attr->attr.max_wr + 1; in ipath_create_srq()
224 if ((attr->max_wr > ib_ipath_max_srq_wrs) || in ipath_modify_srq()
226 attr->srq_limit : srq->limit) > attr->max_wr) { in ipath_modify_srq()
233 size = attr->max_wr + 1; in ipath_modify_srq()
350 attr->max_wr = srq->rq.size - 1; in ipath_query_srq()
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_srq.c112 srq_init_attr->attr.max_wr == 0 || in qib_create_srq()
113 srq_init_attr->attr.max_wr > ib_qib_max_srq_wrs) { in qib_create_srq()
127 srq->rq.size = srq_init_attr->attr.max_wr + 1; in qib_create_srq()
220 if ((attr->max_wr > ib_qib_max_srq_wrs) || in qib_modify_srq()
222 attr->srq_limit : srq->limit) > attr->max_wr) { in qib_modify_srq()
229 size = attr->max_wr + 1; in qib_modify_srq()
350 attr->max_wr = srq->rq.size - 1; in qib_query_srq()
/linux-2.6.39/drivers/infiniband/hw/mlx4/
Dsrq.c85 if (init_attr->attr.max_wr >= dev->dev->caps.max_srq_wqes || in mlx4_ib_create_srq()
95 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); in mlx4_ib_create_srq()
190 init_attr->attr.max_wr = srq->msrq.max - 1; in mlx4_ib_create_srq()
257 srq_attr->max_wr = srq->msrq.max - 1; in mlx4_ib_query_srq()
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_srq.c208 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() local
390 if (attr->srq_limit > max_wr) in mthca_modify_srq()
432 srq_attr->max_wr = srq->max - 1; in mthca_query_srq()
/linux-2.6.39/include/rdma/
Dib_user_verbs.h645 __u32 max_wr; member
653 __u32 max_wr; member
661 __u32 max_wr; member
674 __u32 max_wr; member
Dib_verbs.h530 u32 max_wr; member
/linux-2.6.39/drivers/infiniband/core/
Duverbs_cmd.c2016 attr.attr.max_wr = cmd.max_wr; in ib_uverbs_create_srq()
2044 resp.max_wr = attr.attr.max_wr; in ib_uverbs_create_srq()
2099 attr.max_wr = cmd.max_wr; in ib_uverbs_modify_srq()
2138 resp.max_wr = attr.max_wr; in ib_uverbs_query_srq()
/linux-2.6.39/drivers/infiniband/hw/ehca/
Dehca_qp.c387 q_size = wqe_size * (queue->max_wr + 1); in ehca_determine_small_queue()
692 parms.squeue.max_wr = init_attr->cap.max_send_wr; in internal_create_qp()
693 parms.rqueue.max_wr = init_attr->cap.max_recv_wr; in internal_create_qp()
699 parms.squeue.max_wr++; in internal_create_qp()
988 qp_init_attr.cap.max_recv_wr = srq_init_attr->attr.max_wr; in ehca_create_srq()
996 srq_init_attr->attr.max_wr = qp_init_attr.cap.max_recv_wr; in ehca_create_srq()
2119 srq_attr->max_wr = qpcb->max_nr_outst_recv_wr - 1; in ehca_query_srq()
Dehca_classes.h442 int max_wr; member
Dhcp_if.c335 parms->squeue.max_wr + 1) in hipz_h_alloc_resource_qp()
337 parms->rqueue.max_wr + 1) in hipz_h_alloc_resource_qp()
/linux-2.6.39/drivers/infiniband/ulp/ipoib/
Dipoib_cm.c1507 .max_wr = ipoib_recvq_size, in ipoib_cm_create_srq()