[dpdk-dev] [PATCH v2 6/7] eal: pci: export pci_map_device

2016-01-13 Thread Santosh Shukla
On Tue, Jan 12, 2016 at 2:35 PM, Yuanhan Liu wrote: > On Tue, Jan 12, 2016 at 04:40:43PM +0800, Yuanhan Liu wrote: >> On Tue, Jan 12, 2016 at 09:31:05AM +0100, David Marchand wrote: >> > On Tue, Jan 12, 2016 at 7:59 AM, Yuanhan Liu > > linux.intel.com> >> > wrote: >> > >> > Normally we could s

[dpdk-dev] [PATCH v2 6/7] eal: pci: export pci_map_device

2016-01-12 Thread Yuanhan Liu
On Tue, Jan 12, 2016 at 04:40:43PM +0800, Yuanhan Liu wrote: > On Tue, Jan 12, 2016 at 09:31:05AM +0100, David Marchand wrote: > > On Tue, Jan 12, 2016 at 7:59 AM, Yuanhan Liu > linux.intel.com> > > wrote: > > > > Normally we could set RTE_PCI_DRV_NEED_MAPPING flag so that eal will > > in

[dpdk-dev] [PATCH v2 6/7] eal: pci: export pci_map_device

2016-01-12 Thread Yuanhan Liu
On Tue, Jan 12, 2016 at 09:31:05AM +0100, David Marchand wrote: > On Tue, Jan 12, 2016 at 7:59 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 expor

[dpdk-dev] [PATCH v2 6/7] eal: pci: export pci_map_device

2016-01-12 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 v2 6/7] eal: pci: export pci_map_device

2016-01-12 Thread David Marchand
On Tue, Jan 12, 2016 at 7:59 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 wi