Home
last modified time | relevance | path

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

/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_srq.c62 int pvrdma_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in pvrdma_query_srq() argument
84 srq_attr->srq_limit = resp->attrs.srq_limit; in pvrdma_query_srq()
85 srq_attr->max_wr = resp->attrs.max_wr; in pvrdma_query_srq()
86 srq_attr->max_sge = resp->attrs.max_sge; in pvrdma_query_srq()
Dpvrdma_verbs.h425 int pvrdma_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
/drivers/infiniband/hw/mlx4/
Dsrq.c244 int mlx4_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx4_ib_query_srq() argument
255 srq_attr->srq_limit = limit_watermark; in mlx4_ib_query_srq()
256 srq_attr->max_wr = srq->msrq.max - 1; in mlx4_ib_query_srq()
257 srq_attr->max_sge = srq->msrq.max_gs; in mlx4_ib_query_srq()
Dmlx4_ib.h765 int mlx4_ib_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
/drivers/infiniband/hw/mthca/
Dmthca_srq.c396 int mthca_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mthca_query_srq() argument
415 srq_attr->srq_limit = be16_to_cpu(arbel_ctx->limit_watermark); in mthca_query_srq()
418 srq_attr->srq_limit = be16_to_cpu(tavor_ctx->limit_watermark); in mthca_query_srq()
421 srq_attr->max_wr = srq->max - 1; in mthca_query_srq()
422 srq_attr->max_sge = srq->max_gs; in mthca_query_srq()
Dmthca_dev.h518 int mthca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
/drivers/infiniband/hw/mlx5/
Dsrq.c362 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx5_ib_query_srq() argument
377 srq_attr->srq_limit = out->lwm; in mlx5_ib_query_srq()
378 srq_attr->max_wr = srq->msrq.max - 1; in mlx5_ib_query_srq()
379 srq_attr->max_sge = srq->msrq.max_gs; in mlx5_ib_query_srq()
Dmlx5_ib.h1113 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr);
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h174 int bnxt_re_modify_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr,
177 int bnxt_re_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
Dib_verbs.c1416 int bnxt_re_modify_srq(struct ib_srq *ib_srq, struct ib_srq_attr *srq_attr, in bnxt_re_modify_srq() argument
1431 if (srq_attr->srq_limit > srq->qplib_srq.max_wqe) in bnxt_re_modify_srq()
1434 srq->qplib_srq.threshold = srq_attr->srq_limit; in bnxt_re_modify_srq()
1441 srq->srq_limit = srq_attr->srq_limit; in bnxt_re_modify_srq()
1452 int bnxt_re_query_srq(struct ib_srq *ib_srq, struct ib_srq_attr *srq_attr) in bnxt_re_query_srq() argument
1467 srq_attr->max_wr = srq->qplib_srq.max_wqe; in bnxt_re_query_srq()
1468 srq_attr->max_sge = srq->qplib_srq.max_sge; in bnxt_re_query_srq()
1469 srq_attr->srq_limit = tsrq.qplib_srq.threshold; in bnxt_re_query_srq()
/drivers/nvme/target/
Drdma.c854 struct ib_srq_init_attr srq_attr = { NULL, }; in nvmet_rdma_init_srq() local
861 srq_attr.attr.max_wr = srq_size; in nvmet_rdma_init_srq()
862 srq_attr.attr.max_sge = 1 + ndev->inline_page_count; in nvmet_rdma_init_srq()
863 srq_attr.attr.srq_limit = 0; in nvmet_rdma_init_srq()
864 srq_attr.srq_type = IB_SRQT_BASIC; in nvmet_rdma_init_srq()
865 srq = ib_create_srq(ndev->pd, &srq_attr); in nvmet_rdma_init_srq()
/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2744 struct ib_srq_init_attr *srq_attr, in ocrdma_mbx_create_srq() argument
2761 max_rqe_allocated = srq_attr->attr.max_wr + 1; in ocrdma_mbx_create_srq()
2767 srq_attr->attr.max_wr); in ocrdma_mbx_create_srq()
2785 cmd->max_sge_rqe |= srq_attr->attr.max_sge << in ocrdma_mbx_create_srq()
2818 int ocrdma_mbx_modify_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) in ocrdma_mbx_modify_srq() argument
2829 cmd->limit_max_rqe |= srq_attr->srq_limit << in ocrdma_mbx_modify_srq()
2836 int ocrdma_mbx_query_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) in ocrdma_mbx_query_srq() argument
2850 srq_attr->max_sge = in ocrdma_mbx_query_srq()
2853 srq_attr->max_wr = in ocrdma_mbx_query_srq()
2855 srq_attr->srq_limit = rsp->srq_lmt_max_sge >> in ocrdma_mbx_query_srq()
Docrdma_verbs.c1843 struct ib_srq_attr *srq_attr, in ocrdma_modify_srq() argument
1854 status = ocrdma_mbx_modify_srq(srq, srq_attr); in ocrdma_modify_srq()
1858 int ocrdma_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in ocrdma_query_srq() argument
1864 status = ocrdma_mbx_query_srq(srq, srq_attr); in ocrdma_query_srq()
/drivers/infiniband/core/
Dverbs.c1012 struct ib_srq_attr *srq_attr, in ib_modify_srq() argument
1016 srq->device->ops.modify_srq(srq, srq_attr, srq_attr_mask, in ib_modify_srq()
1022 struct ib_srq_attr *srq_attr) in ib_query_srq() argument
1025 srq->device->ops.query_srq(srq, srq_attr) : -EOPNOTSUPP; in ib_query_srq()
/drivers/infiniband/hw/hns/
Dhns_roce_device.h987 int (*modify_srq)(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr,
1233 int hns_roce_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr,
Dhns_roce_hw_v2.c6120 struct ib_srq_attr *srq_attr, in hns_roce_v2_modify_srq() argument
6132 if (srq_attr->srq_limit >= srq->max) in hns_roce_v2_modify_srq()
6146 SRQC_BYTE_8_SRQ_LIMIT_WL_S, srq_attr->srq_limit); in hns_roce_v2_modify_srq()
/drivers/infiniband/hw/qedr/
Dverbs.c92 int qedr_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in qedr_query_srq() argument
98 srq_attr->srq_limit = srq->srq_limit; in qedr_query_srq()
99 srq_attr->max_wr = qattr->max_srq_wr; in qedr_query_srq()
100 srq_attr->max_sge = qattr->max_sge; in qedr_query_srq()
/drivers/infiniband/ulp/srpt/
Dib_srpt.c3038 struct ib_srq_init_attr srq_attr = { in srpt_alloc_srq() local
3050 srq = ib_create_srq(sdev->pd, &srq_attr); in srpt_alloc_srq()