/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_srq.c | 58 * @srq_attr: attributes to query and return to client 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()
|
H A D | pvrdma_verbs.h | 425 int pvrdma_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_srq.c | 58 * @srq_attr: attributes to query and return to client 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()
|
H A D | pvrdma_verbs.h | 390 int pvrdma_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
H A 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()
|
H A D | mthca_dev.h | 507 int mthca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/ |
H A 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()
|
H A D | mthca_dev.h | 507 int mthca_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | srq.c | 368 int mlx5_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx5_ib_query_srq() argument 383 srq_attr->srq_limit = out->lwm; in mlx5_ib_query_srq() 384 srq_attr->max_wr = srq->msrq.max - 1; in mlx5_ib_query_srq() 385 srq_attr->max_sge = srq->msrq.max_gs; in mlx5_ib_query_srq()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
H A D | srq.c | 246 int mlx4_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in mlx4_ib_query_srq() argument 257 srq_attr->srq_limit = limit_watermark; in mlx4_ib_query_srq() 258 srq_attr->max_wr = srq->msrq.max - 1; in mlx4_ib_query_srq() 259 srq_attr->max_sge = srq->msrq.max_gs; in mlx4_ib_query_srq()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.h | 175 int bnxt_re_modify_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr, 178 int bnxt_re_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
|
H A D | ib_verbs.c | 1702 int bnxt_re_modify_srq(struct ib_srq *ib_srq, struct ib_srq_attr *srq_attr, in bnxt_re_modify_srq() argument 1717 if (srq_attr->srq_limit > srq->qplib_srq.max_wqe) in bnxt_re_modify_srq() 1720 srq->qplib_srq.threshold = srq_attr->srq_limit; in bnxt_re_modify_srq() 1727 srq->srq_limit = srq_attr->srq_limit; in bnxt_re_modify_srq() 1738 int bnxt_re_query_srq(struct ib_srq *ib_srq, struct ib_srq_attr *srq_attr) in bnxt_re_query_srq() argument 1753 srq_attr->max_wr = srq->qplib_srq.max_wqe; in bnxt_re_query_srq() 1754 srq_attr->max_sge = srq->qplib_srq.max_sge; in bnxt_re_query_srq() 1755 srq_attr->srq_limit = tsrq.qplib_srq.threshold; in bnxt_re_query_srq()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/ |
H A D | ib_verbs.h | 195 int bnxt_re_modify_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr, 198 int bnxt_re_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr);
|
H A D | ib_verbs.c | 1800 int bnxt_re_modify_srq(struct ib_srq *ib_srq, struct ib_srq_attr *srq_attr, in bnxt_re_modify_srq() argument 1815 if (srq_attr->srq_limit > srq->qplib_srq.max_wqe) in bnxt_re_modify_srq() 1818 srq->qplib_srq.threshold = srq_attr->srq_limit; in bnxt_re_modify_srq() 1825 srq->srq_limit = srq_attr->srq_limit; in bnxt_re_modify_srq() 1835 int bnxt_re_query_srq(struct ib_srq *ib_srq, struct ib_srq_attr *srq_attr) in bnxt_re_query_srq() argument 1850 srq_attr->max_wr = srq->qplib_srq.max_wqe; in bnxt_re_query_srq() 1851 srq_attr->max_sge = srq->qplib_srq.max_sge; in bnxt_re_query_srq() 1852 srq_attr->srq_limit = tsrq.qplib_srq.threshold; in bnxt_re_query_srq()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | rdma.c | 1088 struct ib_srq_init_attr srq_attr = { NULL, }; in nvmet_rdma_init_srq() local 1098 srq_attr.attr.max_wr = srq_size; in nvmet_rdma_init_srq() 1099 srq_attr.attr.max_sge = 1 + ndev->inline_page_count; in nvmet_rdma_init_srq() 1100 srq_attr.attr.srq_limit = 0; in nvmet_rdma_init_srq() 1101 srq_attr.srq_type = IB_SRQT_BASIC; in nvmet_rdma_init_srq() 1102 srq = ib_create_srq(ndev->pd, &srq_attr); in nvmet_rdma_init_srq()
|
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 2744 struct ib_srq_init_attr *srq_attr, in ocrdma_mbx_create_srq() 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 in ocrdma_mbx_query_srq() 2743 ocrdma_mbx_create_srq(struct ocrdma_dev *dev, struct ocrdma_srq *srq, struct ib_srq_init_attr *srq_attr, struct ocrdma_pd *pd) ocrdma_mbx_create_srq() argument [all...] |
H A D | ocrdma_verbs.c | 1828 struct ib_srq_attr *srq_attr, in ocrdma_modify_srq() 1839 status = ocrdma_mbx_modify_srq(srq, srq_attr); in ocrdma_modify_srq() 1843 int ocrdma_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr) in ocrdma_query_srq() argument 1849 status = ocrdma_mbx_query_srq(srq, srq_attr); in ocrdma_query_srq() 1827 ocrdma_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr, enum ib_srq_attr_mask srq_attr_mask, struct ib_udata *udata) ocrdma_modify_srq() argument
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 2740 struct ib_srq_init_attr *srq_attr, in ocrdma_mbx_create_srq() 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 in ocrdma_mbx_query_srq() 2739 ocrdma_mbx_create_srq(struct ocrdma_dev *dev, struct ocrdma_srq *srq, struct ib_srq_init_attr *srq_attr, struct ocrdma_pd *pd) ocrdma_mbx_create_srq() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | verbs.c | 1005 * srq_attr->max_wr and srq_attr->max_sge are read the determine the 1055 struct ib_srq_attr *srq_attr, in ib_modify_srq() 1059 srq->device->ops.modify_srq(srq, srq_attr, srq_attr_mask, in ib_modify_srq() 1065 struct ib_srq_attr *srq_attr) in ib_query_srq() 1068 srq->device->ops.query_srq(srq, srq_attr) : -EOPNOTSUPP; in ib_query_srq() 1054 ib_modify_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr, enum ib_srq_attr_mask srq_attr_mask) ib_modify_srq() argument 1064 ib_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr) ib_query_srq() argument
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | verbs.c | 1002 * srq_attr->max_wr and srq_attr->max_sge are read the determine the 1059 struct ib_srq_attr *srq_attr, in ib_modify_srq() 1063 srq->device->ops.modify_srq(srq, srq_attr, srq_attr_mask, in ib_modify_srq() 1069 struct ib_srq_attr *srq_attr) in ib_query_srq() 1072 srq->device->ops.query_srq(srq, srq_attr) : -EOPNOTSUPP; in ib_query_srq() 1058 ib_modify_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr, enum ib_srq_attr_mask srq_attr_mask) ib_modify_srq() argument 1068 ib_query_srq(struct ib_srq *srq, struct ib_srq_attr *srq_attr) ib_query_srq() argument
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A D | hns_roce_device.h | 948 int (*modify_srq)(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr, 1236 int hns_roce_modify_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr,
|
/kernel/linux/linux-5.10/include/rdma/ |
H A D | ib_verbs.h | 2410 int (*modify_srq)(struct ib_srq *srq, struct ib_srq_attr *srq_attr, 2413 int (*query_srq)(struct ib_srq *srq, struct ib_srq_attr *srq_attr); 3599 * @srq_attr: On input, specifies the SRQ attributes to modify. On output, 3609 struct ib_srq_attr *srq_attr, 3616 * @srq_attr: The attributes of the specified SRQ. 3619 struct ib_srq_attr *srq_attr);
|