summaryrefslogtreecommitdiff
path: root/examples/vmdq
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2014-04-21 10:59:39 -0400
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-05-20 14:28:26 +0200
commite5ffdd1457c0fb4e8365f524ee2529ac726edcf3 (patch)
treecfe1218173b00d44484e69f7329ac92d666b3c3d /examples/vmdq
parent2e87457ef99faef83ae5671d756f4f3f0a66286f (diff)
downloaddpdk-e5ffdd1457c0fb4e8365f524ee2529ac726edcf3.zip
dpdk-e5ffdd1457c0fb4e8365f524ee2529ac726edcf3.tar.gz
dpdk-e5ffdd1457c0fb4e8365f524ee2529ac726edcf3.tar.xz
ethdev: remove rte_pmd_init_all function
Now that we've converted all the pmds in dpdk to use the driver registration macro, rte_pmd_init_all has become empty. As theres no reason to keep it around anymore, just remove it and fix up all the eample callers. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Diffstat (limited to 'examples/vmdq')
-rw-r--r--examples/vmdq/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vmdq/main.c b/examples/vmdq/main.c
index fac24aa..0f52bdd 100644
--- a/examples/vmdq/main.c
+++ b/examples/vmdq/main.c
@@ -597,7 +597,7 @@ MAIN(int argc, char *argv[])
if (ret < 0)
rte_exit(EXIT_FAILURE, "Invalid VMDQ argument\n");
- if (rte_pmd_init_all() != 0 || rte_eal_pci_probe() != 0)
+ 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 ++)