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

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


2016-01-28 11:57, Anatoly Burakov:
> +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0)

Why not #ifndef VFIO_NOIOMMU_IOMMU?
It would avoid some backport issue.

> +#define RTE_VFIO_NOIOMMU 8
> +#else
> +#define RTE_VFIO_NOIOMMU VFIO_NOIOMMU_IOMMU
> +#endif




More information about the dev mailing list