> -----Original Message----- > From: Anatoly Burakov <anatoly.bura...@intel.com> > Sent: Thursday, July 25, 2019 3:22 PM > To: dev@dpdk.org > Cc: david.march...@redhat.com; Jerin Jacob Kollanukkaran > <jer...@marvell.com>; tho...@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.bura...@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.