1/4: fix vfio unmap that fails unexpectedly 2/4: fix vfio unmap that succeeds unexpectedly 3/4: add API to check iommu type is set 4/4: add unit tests for eal vfio
Patch 4/4 depends on 1/4,2/4,3/4 Signed-off-by: Chaitanya Babu Talluri <tallurix.chaitanya.b...@intel.com> --- v4: Fixed compilation issues. v3: Added API to check iommu type. v2: Updated commit messages. --- Chaitanya Babu Talluri (4): lib/eal: fix vfio unmap that fails unexpectedly lib/eal: fix vfio unmap that succeeds unexpectedly lib/eal: add API to check iommu type is set app/test: add unit tests for eal vfio app/test/Makefile | 1 + app/test/meson.build | 2 + app/test/test_eal_vfio.c | 737 +++++++++++++++++++++++ lib/librte_eal/common/include/rte_vfio.h | 11 + lib/librte_eal/linux/eal/eal_vfio.c | 75 ++- lib/librte_eal/rte_eal_version.map | 3 + 6 files changed, 822 insertions(+), 7 deletions(-) create mode 100644 app/test/test_eal_vfio.c -- 2.17.2