summaryrefslogtreecommitdiffstats
path: root/vpp/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'vpp/vnet')
-rw-r--r--vpp/vnet/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/vpp/vnet/main.c b/vpp/vnet/main.c
index ce497388..32332cb6 100644
--- a/vpp/vnet/main.c
+++ b/vpp/vnet/main.c
@@ -248,11 +248,7 @@ defaulted:
{
vm->init_functions_called = hash_create (0, /* value bytes */ 0);
vpe_main_init (vm);
-#if DPDK
-#if !DPDK_SHARED_LIB
- dpdk_pmd_constructor_init ();
-#endif
-#else
+#if DPDK == 0
unix_physmem_init (vm, 0 /* fail_if_physical_memory_not_present */ );
#endif
vlib_set_get_handoff_structure_cb (&vnet_get_handoff_structure);