vfio: move common code out of PCI file
authorJan Viktorin <viktorin@rehivetech.com>
Mon, 4 Jul 2016 15:16:39 +0000 (17:16 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 Jul 2016 11:37:12 +0000 (13:37 +0200)
commitcc8809fe1052b76f3812e4e542f457437dbfa8b6
tree4d4661bce61c22f598df615ad92c94ac168f0cf5
parentc2b4064dd8842209da84e62d75ec4b13240e49fe
vfio: move common code out of PCI file

We make the iommu_types public temporarily here until the depending stuff is
refactored. The iommu_types and dma_map functions will be changed to be private
inside the eal_vfio module later.

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
lib/librte_eal/linuxapp/eal/Makefile
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c
lib/librte_eal/linuxapp/eal/eal_vfio.c [new file with mode: 0644]
lib/librte_eal/linuxapp/eal/eal_vfio.h