[dpdk-dev] [PATCH] eal: fix vfio device never works.

2015-07-14 Thread Tetsuya Mukawa
On 2015/07/14 14:03, Qiu, Michael wrote: > Hi, Tetsuya > > So this patch make linux app back to original? For linux code, it is yes. For bsd code, it's slight different, because original bsd code doesn't have pci_map/unmap_device(). When I implement "Commit 35b3313e322b", I should have just imple

[dpdk-dev] [PATCH] eal: fix vfio device never works.

2015-07-14 Thread Thomas Monjalon
2015-07-11 15:29, Tetsuya Mukawa: > The patch fixes vfio initialization issue introduced by below patch. > - Commit 35b3313e322b ("pci: merge mapping functions for linux and bsd") > > Root cause is that VFIO_PRESENT is inaccessible in eal common level. > To fix it, remove pci_map/unmap_device fro

[dpdk-dev] [PATCH] eal: fix vfio device never works.

2015-07-14 Thread Qiu, Michael
Hi, Tetsuya So this patch make linux app back to original? Thanks, Michael On 7/11/2015 2:30 PM, Tetsuya Mukawa wrote: > The patch fixes vfio initialization issue introduced by below patch. > - Commit 35b3313e322b ("pci: merge mapping functions for linux and bsd") > > Root cause is that VFIO_P

[dpdk-dev] [PATCH] eal: fix vfio device never works.

2015-07-11 Thread Tetsuya Mukawa
The patch fixes vfio initialization issue introduced by below patch. - Commit 35b3313e322b ("pci: merge mapping functions for linux and bsd") Root cause is that VFIO_PRESENT is inaccessible in eal common level. To fix it, remove pci_map/unmap_device from common code, then implement in linux and b