]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/bsdapp/eal/eal.c
bus: add scanning
[dpdk.git] / lib / librte_eal / bsdapp / eal / eal.c
index 220627783d314899ebc0c9ff81625b90d8d6f190..be5d29558144d45060e45eb807ce5f6cbf72654b 100644 (file)
@@ -577,6 +577,9 @@ rte_eal_init(int argc, char **argv)
                rte_config.master_lcore, thread_id, cpuset,
                ret == 0 ? "" : "...");
 
+       if (rte_bus_scan())
+               rte_panic("Cannot scan the buses for devices\n");
+
        RTE_LCORE_FOREACH_SLAVE(i) {
 
                /*