Home
last modified time | relevance | path

Searched refs:srq_attr (Results 1 – 7 of 7) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dsrq.c238 int mlx4_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx4_ib_query_srq() argument
249 srq_attr->srq_limit = limit_watermark; in mlx4_ib_query_srq()
250 srq_attr->max_wr = srq->msrq.max - 1; in mlx4_ib_query_srq()
251 srq_attr->max_sge = srq->msrq.max_gs; in mlx4_ib_query_srq()
Dmlx4_ib.h280 int mlx4_ib_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
/drivers/infiniband/hw/mthca/
Dmthca_srq.c406 int mthca_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mthca_query_srq() argument
426 srq_attr->srq_limit = be16_to_cpu(arbel_ctx->limit_watermark); in mthca_query_srq()
429 srq_attr->srq_limit = be16_to_cpu(tavor_ctx->limit_watermark); in mthca_query_srq()
432 srq_attr->max_wr = srq->max - 1; in mthca_query_srq()
433 srq_attr->max_sge = srq->max_gs; in mthca_query_srq()
Dmthca_dev.h515 int mthca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
/drivers/infiniband/core/
Dverbs.c246 struct ib_srq_attr *srq_attr, in ib_modify_srq() argument
250 srq->device->modify_srq(srq, srq_attr, srq_attr_mask, NULL) : in ib_modify_srq()
256 struct ib_srq_attr *srq_attr) in ib_query_srq() argument
259 srq->device->query_srq(srq, srq_attr) : -ENOSYS; in ib_query_srq()
/drivers/infiniband/hw/ehca/
Dehca_iverbs.h172 int ehca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
Dehca_qp.c2088 int ehca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr) in ehca_query_srq() argument
2116 srq_attr->max_wr = qpcb->max_nr_outst_recv_wr - 1; in ehca_query_srq()
2117 srq_attr->max_sge = 3; in ehca_query_srq()
2118 srq_attr->srq_limit = EHCA_BMASK_GET( in ehca_query_srq()