vpp: fix main heap init 36/28836/3
authorBenoît Ganne <bganne@cisco.com>
Tue, 15 Sep 2020 08:45:55 +0000 (10:45 +0200)
committerDamjan Marion <dmarion@me.com>
Wed, 16 Sep 2020 17:38:42 +0000 (17:38 +0000)
commit33ce5e568f8b4fb1254bf5ee32865e9443c0185a
tree16b733584eccfa84db8c143a46d65b8c7e3e663e
parent007abe751f2ee86528d0ccc005a3da1c90850868
vpp: fix main heap init

NUMA node parsing with vlib_get_thread_core_numa() can failed on single
socket systems. Use clib_get_current_numa_node() instead as we already
pinned the main thread to the requested core.

Type: fix

Change-Id: I22339516d0305689a58584c92ded7c96eb53be39
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vpp/vnet/main.c