diff options
author | Damjan Marion <damarion@cisco.com> | 2016-03-17 10:28:23 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-03-17 12:09:37 +0000 |
commit | 89b3398a81ab0bcfc891ad78b24dbc8721bbc514 (patch) | |
tree | 04932df87c64107c39c0f68189bb6fbca857983c | |
parent | aaf2acddb333d40b376ade61c2a92a989b63ff93 (diff) |
Reincarnate call to unix_physmem_init() for non-dpdk use
Change-Id: Iaa3da32060e78bbc505ee84a2a6393f899aa110e
Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r-- | vpp/vnet/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vpp/vnet/main.c b/vpp/vnet/main.c index 9d89ce70158..f6d21a675bc 100644 --- a/vpp/vnet/main.c +++ b/vpp/vnet/main.c @@ -196,6 +196,9 @@ defaulted: if (clib_mem_init (0, main_heap_size)) { vm->init_functions_called = hash_create (0, /* value bytes */ 0); vpe_main_init(vm); +#if ! DPDK + unix_physmem_init(vm, 0 /* fail_if_physical_memory_not_present */); +#endif vlib_set_get_handoff_structure_cb (&vnet_get_handoff_structure); return vlib_unix_main (argc, argv); } else { |