diff options
author | Damjan Marion <damarion@cisco.com> | 2016-10-25 15:45:10 +0200 |
---|---|---|
committer | Chris Luke <chris_luke@comcast.com> | 2016-10-25 15:43:48 +0000 |
commit | 5d4759b0c98e96a7aafc14876d58a7eb85feacc5 (patch) | |
tree | 9e42f7c5f5ab8c81c7ef2755fc5dc8a7de0eeb1f /vpp | |
parent | af0c70cf764f7b027102b7e5e89f8c34436b5f22 (diff) |
dpdk: remove dpdk_pmd_constructor_init
This is not needed anymore, likely because we use --whole-archive
parameter during linking.
Change-Id: Iab0f2ec647b63c59663faceacfbc60aa4a4b84a6
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vpp')
-rw-r--r-- | vpp/vnet/main.c | 6 |
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); |