numam-dpdk/lib/librte_eal
Yong Wang 9ba7235664 vfio: fix PCI resource mapping
The offset of the 2nd mmap() when mapping the region after msix_bar
needs to take region address into consideration as mmap() takes
address that is resource-relative instead of bar-relative.  This is
exposed when binding vmxnet3 to vfio-pci.

Fixes: 90a1633b23 ("eal/linux: allow to map BARs with MSI-X tables")

Signed-off-by: Yong Wang <yongwang@vmware.com>
Signed-off-by: Ronghua Zhang <rzhang@vmware.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2016-07-15 18:43:09 +02:00
..
bsdapp spinlock: move constructor out of x86 header file 2016-07-15 17:26:52 +02:00
common spinlock: move constructor out of x86 header file 2016-07-15 17:26:52 +02:00
linuxapp vfio: fix PCI resource mapping 2016-07-15 18:43:09 +02:00
Makefile config: remove EAL flags for OS environment 2016-03-05 11:09:31 +01:00