[v3,0/4] add unit tests for eal vfio library
mbox series

Message ID 1566907031-2105-1-git-send-email-tallurix.chaitanya.babu@intel.com
Headers show
Series
  • add unit tests for eal vfio library
Related show

Message

Chaitanya Babu, TalluriX Aug. 27, 2019, 11:57 a.m. UTC
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.babu@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