Re: [PATCH] vfio/qat: add support for intel QAT 6xxx virtual functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 15 Jul 2025 09:11:50 +0100
Suman Kumar Chakraborty <suman.kumar.chakraborty@xxxxxxxxx> wrote:

> From: Małgorzata Mielnik <malgorzata.mielnik@xxxxxxxxx>
> 
> 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 <malgorzata.mielnik@xxxxxxxxx>
> Signed-off-by: Suman Kumar Chakraborty <suman.kumar.chakraborty@xxxxxxxxx>
> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx>
> ---
>  drivers/vfio/pci/qat/main.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/vfio/pci/qat/main.c b/drivers/vfio/pci/qat/main.c
> index 845ed15b6771..499c9e1d67ee 100644
> --- a/drivers/vfio/pci/qat/main.c
> +++ b/drivers/vfio/pci/qat/main.c
> @@ -675,6 +675,8 @@ static const struct pci_device_id qat_vf_vfio_pci_table[] = {
>  	{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_INTEL, 0x4941) },
>  	{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_INTEL, 0x4943) },
>  	{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_INTEL, 0x4945) },
> +	/* Intel QAT GEN6 6xxx VF device */
> +	{ PCI_DRIVER_OVERRIDE_DEVICE_VFIO(PCI_VENDOR_ID_INTEL, 0x4949) },
>  	{}
>  };
>  MODULE_DEVICE_TABLE(pci, qat_vf_vfio_pci_table);
> @@ -696,5 +698,5 @@ module_pci_driver(qat_vf_vfio_pci_driver);
>  
>  MODULE_LICENSE("GPL");
>  MODULE_AUTHOR("Xin Zeng <xin.zeng@xxxxxxxxx>");
> -MODULE_DESCRIPTION("QAT VFIO PCI - VFIO PCI driver with live migration support for Intel(R) QAT GEN4 device family");
> +MODULE_DESCRIPTION("QAT VFIO PCI - VFIO PCI driver with live migration support for Intel(R) QAT device family");
>  MODULE_IMPORT_NS("CRYPTO_QAT");
> 
> base-commit: bfeda8f971d01d0c1d0e3f4cf9d4e2b0a2b09d89

Applied to vfio next branch for v6.17.  Thanks,

Alex






[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux