[dpdk-dev] [PATCH] pci:don't insert an unbound device to pci_device_list in pci_scan_one

2016-06-25 Thread Rugang Chen
Hi all, Can you take a look at the patch and send out your comments? It's first time for me to work with git as this way, not sure if I'm doing right on the process. There're two emails for this patch. The second one is to correct the first one. On Saturday, June 25, 2016, Rug

[dpdk-dev] [PATCH] pci: don't insert an unbound device to pci_device_list in pci_scan_one

2016-06-25 Thread Rugang Chen
If a device isn't bound by any uio driver (vfio-pci, igb_uio, uio_pci_generic) and is expected to owned by a kernel space driver, here it's still inserted to pci_device_list. This may cause application based on dpdk fetch the device by accident and then the device is hanlded by dpdk. For safe, sk

[dpdk-dev] [PATCH] pci:don't insert an unbound device to pci_device_list in pci_scan_one

2016-06-24 Thread Rugang Chen
For safe, skip it from pci_device_list as if it's unbound, dpdk won't want to use it. Signed-off-by: Rugang Chen --- lib/librte_eal/linuxapp/eal/eal_pci.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_eal/linuxapp/eal/eal_pci.c b/lib/librte_eal/linuxapp/eal/eal