summaryrefslogtreecommitdiff
path: root/drivers/vfio/pci/qat/Kconfig
diff options
context:
space:
mode:
authorXin Zeng <xin.zeng@intel.com>2024-04-26 14:40:51 +0800
committerAlex Williamson <alex.williamson@redhat.com>2024-04-29 13:25:41 -0600
commitbb208810b1abf1c84870cfbe1cc9cf1a1d35c607 (patch)
tree99ed0695daa286476824dc645aa20945bb72a9b6 /drivers/vfio/pci/qat/Kconfig
parent4fefd69da0646c1d7dde5efafc73ff79927e92cc (diff)
downloadlwn-bb208810b1abf1c84870cfbe1cc9cf1a1d35c607.tar.gz
lwn-bb208810b1abf1c84870cfbe1cc9cf1a1d35c607.zip
vfio/qat: Add vfio_pci driver for Intel QAT SR-IOV VF devices
Add vfio pci variant driver for Intel QAT SR-IOV VF devices. This driver registers to the vfio subsystem through the interfaces exposed by the subsystem. It follows the live migration protocol v2 defined in uapi/linux/vfio.h and interacts with Intel QAT PF driver through a set of interfaces defined in qat/qat_mig_dev.h to support live migration of Intel QAT VF devices. This version only covers migration for Intel QAT GEN4 VF devices. Co-developed-by: Yahui Cao <yahui.cao@intel.com> Signed-off-by: Yahui Cao <yahui.cao@intel.com> Signed-off-by: Xin Zeng <xin.zeng@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Link: https://lore.kernel.org/r/20240426064051.2859652-1-xin.zeng@intel.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/pci/qat/Kconfig')
-rw-r--r--drivers/vfio/pci/qat/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/vfio/pci/qat/Kconfig b/drivers/vfio/pci/qat/Kconfig
new file mode 100644
index 000000000000..bf52cfa4b595
--- /dev/null
+++ b/drivers/vfio/pci/qat/Kconfig
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-only
+config QAT_VFIO_PCI
+ tristate "VFIO support for QAT VF PCI devices"
+ select VFIO_PCI_CORE
+ depends on CRYPTO_DEV_QAT_4XXX
+ help
+ This provides migration support for Intel(R) QAT Virtual Function
+ using the VFIO framework.
+
+ To compile this as a module, choose M here: the module
+ will be called qat_vfio_pci. If you don't know what to do here,
+ say N.