]> www.infradead.org Git - users/hch/block.git/commit
crypto: qat - add interface for live migration
authorXin Zeng <xin.zeng@intel.com>
Wed, 6 Mar 2024 13:58:53 +0000 (21:58 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 2 Apr 2024 02:47:43 +0000 (10:47 +0800)
commit0fce55e5334d380d8a09f80ba9c9b68eeea6971d
tree396ec5b5e12ecfe6f4d9da9ee80cc9554df0b0cc
parentbbfdde7d195ffc9c10598055c449b24c50a0cd25
crypto: qat - add interface for live migration

Extend the driver with a new interface to be used for VF live migration.
This allows to create and destroy a qat_mig_dev object that contains
a set of methods to allow to save and restore the state of QAT VF.
This interface will be used by the qat-vfio-pci module.

Signed-off-by: Xin Zeng <xin.zeng@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/Makefile
drivers/crypto/intel/qat/qat_common/adf_accel_devices.h
drivers/crypto/intel/qat/qat_common/adf_gen4_vf_mig.h [new file with mode: 0644]
drivers/crypto/intel/qat/qat_common/qat_mig_dev.c [new file with mode: 0644]
include/linux/qat/qat_mig_dev.h [new file with mode: 0644]