[dpdk-dev] [PATCH v2 1/3] eal: enable uio_pci_generic support

2015-02-20 Thread Bruce Richardson
On Fri, Feb 20, 2015 at 10:01:10AM +0100, Thomas Monjalon wrote: > Hi Danny, > > 2015-02-20 01:08, Zhou Danny: > > @@ -148,6 +151,7 @@ struct rte_pci_device { > > struct rte_pci_id id; /**< PCI ID. */ > > struct rte_pci_resource mem_resource[PCI_MAX_RESOURCE]; /**< PCI

[dpdk-dev] [PATCH v2 1/3] eal: enable uio_pci_generic support

2015-02-20 Thread Thomas Monjalon
Hi Danny, 2015-02-20 01:08, Zhou Danny: > @@ -148,6 +151,7 @@ struct rte_pci_device { > struct rte_pci_id id; /**< PCI ID. */ > struct rte_pci_resource mem_resource[PCI_MAX_RESOURCE]; /**< PCI > Memory Resource */ > struct rte_intr_handle intr_handle; /**

[dpdk-dev] [PATCH v2 1/3] eal: enable uio_pci_generic support

2015-02-20 Thread Zhou Danny
v2 changes: - Change variable name of kernel driver with precise comment. - Fix a union definition error in v1 patchset. - Move redefined macro IORESOURCE_MEM to rte_pci.h with comment. 1) Unify procedure to retrieve BAR resource mapping information. 2) Setup bus master bit in NIC's PCIe configura