> /* 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;
> +
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
2 matches
Mail list logo