summaryrefslogtreecommitdiff
path: root/examples/netmap_compat
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/netmap_compat
parent2e87457ef99faef83ae5671d756f4f3f0a66286f (diff)
downloaddpdk-draft-windows-e5ffdd1457c0fb4e8365f524ee2529ac726edcf3.zip
dpdk-draft-windows-e5ffdd1457c0fb4e8365f524ee2529ac726edcf3.tar.gz
dpdk-draft-windows-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/netmap_compat')
-rw-r--r--examples/netmap_compat/bridge/bridge.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/netmap_compat/bridge/bridge.c b/examples/netmap_compat/bridge/bridge.c
index ecf5757..e0cef57 100644
--- a/examples/netmap_compat/bridge/bridge.c
+++ b/examples/netmap_compat/bridge/bridge.c
@@ -294,10 +294,6 @@ int main(int argc, char *argv[])
if (ports.num == 0)
rte_exit(EXIT_FAILURE, "no ports specified\n");
- err = rte_pmd_init_all();
- if (err < 0)
- rte_exit(EXIT_FAILURE, "rte_pmd_init_all(): error %d\n", err);
-
err = rte_eal_pci_probe();
if (err < 0)
rte_exit(EXIT_FAILURE, "rte_eal_pci_probe(): error %d\n", err);