physmem: register region with IOMMU 27/9127/3
authorDamjan Marion <damarion@cisco.com>
Mon, 30 Oct 2017 21:38:47 +0000 (22:38 +0100)
committerSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Tue, 31 Oct 2017 12:19:04 +0000 (12:19 +0000)
commit2ca8ced6445d627f6768d1a69b6b871e3dcb5281
tree76248c1f9f4da1dc149143db42427d94ab2973b6
parent4c7c8e55b03e21787cafb11cd49b9488c5ffef70
physmem: register region with IOMMU

VFIO file descriptor is extracted in a hackish way, as DPDK doesn't
provide imethod to retrieve it.

This fixes issue with DPDK drivers not working correctly when IOMMU is
enabled and external buffer memory is used.

Change-Id: I5eaa8e78741c50504d87d44e706b5997c8189554
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vlib/linux/physmem.c