Re: [dpdk-dev] [PATCH] bus/pci: restricted bus scanning to allowed devices

2019-12-16 Thread Stephen Hemminger
> /* Create dummy pci device to get devargs */ > + dummy_dev.addr.domain = matches[i].pc_sel.pc_domain; > + dummy_dev.addr.bus = matches[i].pc_sel.pc_bus; > + dummy_dev.addr.devid = matches[i].pc_sel.pc_dev; > +

[dpdk-dev] [PATCH] bus/pci: restricted bus scanning to allowed devices

2019-12-15 Thread Sunil Kumar Kori
rte_bus_scan API scans all the available PCI devices irrespective of white or black listing parameters then further devices are probed based on white or black listing parameters. So unnecessary CPU cycles are wasted during rte_pci_scan. For Octeontx2 platform with core frequency 2.4 Ghz, rte_bus_s