rte_eal_mcfg_complete();
- if (rte_eal_dev_init(PMD_INIT_PRE_PCI_PROBE) < 0)
+ if (rte_eal_dev_init() < 0)
rte_panic("Cannot init pmd devices\n");
RTE_LCORE_FOREACH_SLAVE(i) {
/* Probe & Initialize PCI devices */
if (rte_eal_pci_probe())
- rte_panic("Cannot probe PCI\n");
-
- /* Initialize any outstanding devices */
- if (rte_eal_dev_init(PMD_INIT_POST_PCI_PROBE) < 0)
- rte_panic("Cannot init pmd devices\n");
+ rte_panic("Cannot probe PCI\n");
return fctret;
}