[dpdk-dev] [PATCH 1/2] vfio: fix pci_vfio_map_resource

2016-07-07 Thread Yong Wang
The offset of the 2nd mmap when mapping the region after msix_bar needs to take region address into consideration. This is exposed when using vfio-pci to manage vmxnet3 pmd. Fixes: 90a1633b2347 ("eal/linux: allow to map BARs with MSI-X tables") Signed-off-by: Yong Wang Signed-off-by: Ronghua Zh

[dpdk-dev] [PATCH 1/2] vfio: fix pci_vfio_map_resource

2016-07-14 Thread Thomas Monjalon
Someone to review this patch please? It can be integrated in RC3 if we are sure it doesn't break anything. 2016-07-07 15:26, Yong Wang: > The offset of the 2nd mmap when mapping the region after msix_bar > needs to take region address into consideration. This is exposed > when using vfio-pci to m

[dpdk-dev] [PATCH 1/2] vfio: fix pci_vfio_map_resource

2016-07-14 Thread Burakov, Anatoly
> Someone to review this patch please? > It can be integrated in RC3 if we are sure it doesn't break anything. > > 2016-07-07 15:26, Yong Wang: > > The offset of the 2nd mmap when mapping the region after msix_bar > > needs to take region address into consideration. This is exposed when > > using

[dpdk-dev] [PATCH 1/2] vfio: fix pci_vfio_map_resource

2016-07-14 Thread Dan Aloni
On Thu, Jul 14, 2016 at 02:50:51PM +, Burakov, Anatoly wrote: > > Someone to review this patch please? > > It can be integrated in RC3 if we are sure it doesn't break anything. > > > > 2016-07-07 15:26, Yong Wang: > > > The offset of the 2nd mmap when mapping the region after msix_bar > > > ne