vpp: fix main heap init 73/29773/2
authorBenoît Ganne <bganne@cisco.com>
Tue, 15 Sep 2020 08:45:55 +0000 (10:45 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 12 Nov 2020 12:33:22 +0000 (12:33 +0000)
commit07aeedd242da8d46ca74c1ad47d4876daa150c22
tree63b2fc2d7a12b4aeb2db14e90a7946e13da80ce3
parent020f02cf3df0538c4712aa94d68e2b42a0949d9b
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>
(cherry picked from commit 33ce5e568f8b4fb1254bf5ee32865e9443c0185a)
src/vpp/vnet/main.c