[dpdk-dev] [PATCH v6] vfio: Support for no-IOMMU mode

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jan 28 17:55:58 CET 2016

2016-01-28 11:57, Anatoly Burakov:
> This commit is adding a generic mechanism to support multiple IOMMU
> types. For now, it's only type 1 (x86 IOMMU) and no-IOMMU (a special
> VFIO mode that doesn't use IOMMU at all), but it's easily extended
> by adding necessary definitions to eal_vfio.h, and DMA mapping
> functions to eal_pci_vfio.c.
> Since type 1 IOMMU module is no longer necessary to have VFIO,
> we fix the module check to check for vfio-pci instead. It's not
> ideal and triggers VFIO checks more often (and thus produces more
> error output, which was the reason behind the module check in the
> first place), so we compensate for that by providing more verbose
> logging, indicating whether VFIO initialization has succeeded or
> failed.
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> Signed-off-by: Santosh Shukla <sshukla at mvista.com>
> Tested-by: Santosh Shukla <sshukla at mvista.com>

Applied, thanks

More information about the dev mailing list