]> git.droids-corp.org - dpdk.git/blobdiff - examples/vmdq/main.c
examples: do not probe pci twice
[dpdk.git] / examples / vmdq / main.c
index 35df23407a36850f9525508ed1e36139726da18e..a162d8b5d4f54ecd917517022d11bc3bd940475d 100644 (file)
@@ -597,9 +597,6 @@ MAIN(int argc, char *argv[])
        if (ret < 0)
                rte_exit(EXIT_FAILURE, "Invalid VMDQ argument\n");
 
-       if (rte_eal_pci_probe() != 0)
-               rte_exit(EXIT_FAILURE, "Error with NIC driver initialization\n");
-
        for (lcore_id = 0; lcore_id < RTE_MAX_LCORE; lcore_id ++)
                if (rte_lcore_is_enabled(lcore_id))
                        lcore_ids[core_id ++] = lcore_id;