On Tue, Oct 15, 2019 at 12:32 PM <asoma...@amd.com> wrote:
>
> From: Amaranath Somalapuram <asoma...@amd.com>
>
> CCP use vdev framework, and vdev framework don’t support IOMMU.
> Adding custom IOMMU support for AMD CCP drives.
> Cc: sta...@dpdk.org
>
> +       if (iommu_mode == 2)
> +               pci->kdrv = RTE_KDRV_VFIO;
> +       else if (iommu_mode == 0)
> +               pci->kdrv = RTE_KDRV_IGB_UIO;
> +       else if (iommu_mode == 1)
> +               pci->kdrv = RTE_KDRV_UIO_GENERIC;

The crypto driver should not have iommu mode-specific handling.
I am not sure about the problem statement. If the problem is,
iommu support for PCI based vdev device then move the solution to
common layer so that everyone can use it. If not, please share the
problem statement

Reply via email to