/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_srq.c | 62 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()
|
D | pvrdma_verbs.h | 390 int pvrdma_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | srq.c | 250 int mlx4_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx4_ib_query_srq() argument 261 srq_attr->srq_limit = limit_watermark; in mlx4_ib_query_srq() 262 srq_attr->max_wr = srq->msrq.max - 1; in mlx4_ib_query_srq() 263 srq_attr->max_sge = srq->msrq.max_gs; in mlx4_ib_query_srq()
|
D | mlx4_ib.h | 789 int mlx4_ib_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
|
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 396 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()
|
D | mthca_dev.h | 507 int mthca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | srq.c | 347 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx5_ib_query_srq() argument 362 srq_attr->srq_limit = out->lwm; in mlx5_ib_query_srq() 363 srq_attr->max_wr = srq->msrq.max - 1; in mlx5_ib_query_srq() 364 srq_attr->max_sge = srq->msrq.max_gs; in mlx5_ib_query_srq()
|
D | mlx5_ib.h | 1224 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr);
|
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.h | 174 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);
|
D | ib_verbs.c | 1689 int bnxt_re_modify_srq(struct ib_srq *ib_srq, struct ib_srq_attr *srq_attr, in bnxt_re_modify_srq() argument 1704 if (srq_attr->srq_limit > srq->qplib_srq.max_wqe) in bnxt_re_modify_srq() 1707 srq->qplib_srq.threshold = srq_attr->srq_limit; in bnxt_re_modify_srq() 1714 srq->srq_limit = srq_attr->srq_limit; in bnxt_re_modify_srq() 1725 int bnxt_re_query_srq(struct ib_srq *ib_srq, struct ib_srq_attr *srq_attr) in bnxt_re_query_srq() argument 1740 srq_attr->max_wr = srq->qplib_srq.max_wqe; in bnxt_re_query_srq() 1741 srq_attr->max_sge = srq->qplib_srq.max_sge; in bnxt_re_query_srq() 1742 srq_attr->srq_limit = tsrq.qplib_srq.threshold; in bnxt_re_query_srq()
|
/linux-6.1.9/drivers/nvme/target/ |
D | rdma.c | 1089 struct ib_srq_init_attr srq_attr = { NULL, }; in nvmet_rdma_init_srq() local 1099 srq_attr.attr.max_wr = srq_size; in nvmet_rdma_init_srq() 1100 srq_attr.attr.max_sge = 1 + ndev->inline_page_count; in nvmet_rdma_init_srq() 1101 srq_attr.attr.srq_limit = 0; in nvmet_rdma_init_srq() 1102 srq_attr.srq_type = IB_SRQT_BASIC; in nvmet_rdma_init_srq() 1103 srq = ib_create_srq(ndev->pd, &srq_attr); in nvmet_rdma_init_srq()
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.c | 2740 struct ib_srq_init_attr *srq_attr, in ocrdma_mbx_create_srq() argument 2757 max_rqe_allocated = srq_attr->attr.max_wr + 1; in ocrdma_mbx_create_srq() 2763 srq_attr->attr.max_wr); in ocrdma_mbx_create_srq() 2781 cmd->max_sge_rqe |= srq_attr->attr.max_sge << in ocrdma_mbx_create_srq() 2814 int ocrdma_mbx_modify_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) in ocrdma_mbx_modify_srq() argument 2825 cmd->limit_max_rqe |= srq_attr->srq_limit << in ocrdma_mbx_modify_srq() 2832 int ocrdma_mbx_query_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) in ocrdma_mbx_query_srq() argument 2846 srq_attr->max_sge = in ocrdma_mbx_query_srq() 2849 srq_attr->max_wr = in ocrdma_mbx_query_srq() 2851 srq_attr->srq_limit = rsp->srq_lmt_max_sge >> in ocrdma_mbx_query_srq()
|
D | ocrdma_verbs.c | 1832 struct ib_srq_attr *srq_attr, in ocrdma_modify_srq() argument 1843 status = ocrdma_mbx_modify_srq(srq, srq_attr); in ocrdma_modify_srq() 1847 int ocrdma_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in ocrdma_query_srq() argument 1852 return ocrdma_mbx_query_srq(srq, srq_attr); in ocrdma_query_srq()
|
/linux-6.1.9/drivers/infiniband/core/ |
D | verbs.c | 1057 struct ib_srq_attr *srq_attr, in ib_modify_srq() argument 1061 srq->device->ops.modify_srq(srq, srq_attr, srq_attr_mask, in ib_modify_srq() 1067 struct ib_srq_attr *srq_attr) in ib_query_srq() argument 1070 srq->device->ops.query_srq(srq, srq_attr) : -EOPNOTSUPP; in ib_query_srq()
|
/linux-6.1.9/include/rdma/ |
D | ib_verbs.h | 2457 int (*modify_srq)(struct ib_srq *srq, struct ib_srq_attr *srq_attr, 2460 int (*query_srq)(struct ib_srq *srq, struct ib_srq_attr *srq_attr); 3669 struct ib_srq_attr *srq_attr, 3679 struct ib_srq_attr *srq_attr);
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_device.h | 1179 int hns_roce_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr,
|
D | hns_roce_hw_v2.c | 5760 struct ib_srq_attr *srq_attr, in hns_roce_v2_modify_srq() argument 5776 if (srq_attr->srq_limit > srq->wqe_cnt) in hns_roce_v2_modify_srq() 5788 hr_reg_write(srq_context, SRQC_LIMIT_WL, srq_attr->srq_limit); in hns_roce_v2_modify_srq()
|
/linux-6.1.9/drivers/infiniband/hw/qedr/ |
D | verbs.c | 98 int qedr_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in qedr_query_srq() argument 104 srq_attr->srq_limit = srq->srq_limit; in qedr_query_srq() 105 srq_attr->max_wr = qattr->max_srq_wr; in qedr_query_srq() 106 srq_attr->max_sge = qattr->max_sge; in qedr_query_srq()
|
/linux-6.1.9/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 3056 struct ib_srq_init_attr srq_attr = { in srpt_alloc_srq() local 3068 srq = ib_create_srq(sdev->pd, &srq_attr); in srpt_alloc_srq()
|