[dpdk-dev] [EXT] [PATCH v2] eal: pick IOVA as PA if IOMMU is not available
Jerin Jacob Kollanukkaran
jerinj at marvell.com
Thu Jul 25 11:56:25 CEST 2019
> -----Original Message-----
> From: Anatoly Burakov <anatoly.burakov at intel.com>
> Sent: Thursday, July 25, 2019 3:22 PM
> To: dev at dpdk.org
> Cc: david.marchand at redhat.com; Jerin Jacob Kollanukkaran
> <jerinj at marvell.com>; thomas at monjalon.net
> Subject: [EXT] [PATCH v2] eal: pick IOVA as PA if IOMMU is not available
> When IOMMU is not available, /sys/kernel/iommu_groups will not be
> populated. This is happening since at least 3.6 when VFIO support was added. If
> the directory is empty, EAL should not pick IOVA as VA as the default IOVA
> mode.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
>
> Notes:
> v2:
> - Decouple IOMMU from VFIO
> - Add a check for physical addresses availability
>
> lib/librte_eal/linux/eal/eal.c | 21 ++++++++++++++++++--
> lib/librte_eal/linux/eal/eal_vfio.c | 30 +++++++++++++++++++++++++++++
> lib/librte_eal/linux/eal/eal_vfio.h | 2 ++
Please update the documentation as well.
More information about the dev
mailing list