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> --- 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 | 736 +++++++++++++++++++++++ lib/librte_eal/common/include/rte_vfio.h | 10 + lib/librte_eal/linux/eal/eal_vfio.c | 75 ++- 5 files changed, 817 insertions(+), 7 deletions(-) create mode 100644 app/test/test_eal_vfio.c -- 2.17.2