Skip to content

Commit 1e9c0f1

Browse files
malgorzatamielnikawilliam
authored andcommitted
vfio/qat: add support for intel QAT 6xxx virtual functions
Extend the qat_vfio_pci variant driver to support QAT 6xxx Virtual Functions (VFs). Add the relevant QAT 6xxx VF device IDs to the driver's probe table, enabling proper detection and initialization of these devices. Update the module description to reflect that the driver now supports all QAT generations. Signed-off-by: Małgorzata Mielnik <[email protected]> Signed-off-by: Suman Kumar Chakraborty <[email protected]> Reviewed-by: Giovanni Cabiddu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Williamson <[email protected]>
1 parent 27a23fa commit 1e9c0f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/vfio/pci/qat/main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,8 @@ static const struct pci_device_id qat_vf_vfio_pci_table[] = {
676676
{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_INTEL, 0x4941) },
677677
{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_INTEL, 0x4943) },
678678
{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_INTEL, 0x4945) },
679+
/* Intel QAT GEN6 6xxx VF device */
680+
{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_INTEL, 0x4949) },
679681
{}
680682
};
681683
MODULE_DEVICE_TABLE(pci, qat_vf_vfio_pci_table);
@@ -697,5 +699,5 @@ module_pci_driver(qat_vf_vfio_pci_driver);
697699

698700
MODULE_LICENSE("GPL");
699701
MODULE_AUTHOR("Xin Zeng <[email protected]>");
700-
MODULE_DESCRIPTION("QAT VFIO PCI - VFIO PCI driver with live migration support for Intel(R) QAT GEN4 device family");
702+
MODULE_DESCRIPTION("QAT VFIO PCI - VFIO PCI driver with live migration support for Intel(R) QAT device family");
701703
MODULE_IMPORT_NS("CRYPTO_QAT");

0 commit comments

Comments
 (0)