[dpdk-dev] [PATCH v5 7/9] eal: pci: export pci_[un]map_device

2016-01-19 Thread Yuanhan Liu
Normally we could set RTE_PCI_DRV_NEED_MAPPING flag so that eal will invoke pci_map_device internally for us. From that point view, there is no need to export pci_map_device. However, for virtio pmd driver, which is designed to work without binding UIO (or something similar first), pci_map_device(

[dpdk-dev] [PATCH v5 7/9] eal: pci: export pci_[un]map_device

2016-01-19 Thread David Marchand
On Tue, Jan 19, 2016 at 9:12 AM, Yuanhan Liu wrote: > Normally we could set RTE_PCI_DRV_NEED_MAPPING flag so that eal will > invoke pci_map_device internally for us. From that point view, there > is no need to export pci_map_device. > > However, for virtio pmd driver, which is designed to work wit