> -----Original Message----- > From: Anatoly Burakov <[email protected]> > Sent: Thursday, July 25, 2019 3:22 PM > To: [email protected] > Cc: [email protected]; Jerin Jacob Kollanukkaran > <[email protected]>; [email protected] > 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 <[email protected]> > --- > > 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.

