mirror of
https://github.com/torvalds/linux.git
synced 2026-05-03 22:12:32 -04:00
The current implementation of the QAT live migration enablers is exclusive to QAT GEN4 devices and resides within QAT GEN4 specific files. However, the underlying mechanisms, such as the relevant CSRs and offsets, can be shared between QAT GEN4 and QAT GEN6 devices. Add the necessary enablers required to implement live migration for QAT GEN6 devices to the abstraction layer to allow leveraging the existing QAT GEN4 implementation. Signed-off-by: Małgorzata Mielnik <malgorzata.mielnik@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 lines
637 B
C
18 lines
637 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* Copyright(c) 2025 Intel Corporation */
|
|
#ifndef ADF_GEN6_SHARED_H_
|
|
#define ADF_GEN6_SHARED_H_
|
|
|
|
struct adf_hw_csr_ops;
|
|
struct qat_migdev_ops;
|
|
struct adf_accel_dev;
|
|
struct adf_pfvf_ops;
|
|
|
|
void adf_gen6_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops);
|
|
void adf_gen6_init_hw_csr_ops(struct adf_hw_csr_ops *csr_ops);
|
|
int adf_gen6_cfg_dev_init(struct adf_accel_dev *accel_dev);
|
|
int adf_gen6_comp_dev_config(struct adf_accel_dev *accel_dev);
|
|
int adf_gen6_no_dev_config(struct adf_accel_dev *accel_dev);
|
|
void adf_gen6_init_vf_mig_ops(struct qat_migdev_ops *vfmig_ops);
|
|
#endif/* ADF_GEN6_SHARED_H_ */
|