summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vlib/threads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vlib/threads.c b/src/vlib/threads.c
index a827e3594e8..8a068875617 100644
--- a/src/vlib/threads.c
+++ b/src/vlib/threads.c
@@ -283,6 +283,8 @@ vlib_thread_init (vlib_main_t * vm)
w->thread_id = pthread_self ();
tm->n_vlib_mains = 1;
+ vlib_get_thread_core_numa (w, w->cpu_id);
+
if (tm->sched_policy != ~0)
{
struct sched_param sched_param;