From 0a78fa17cbbeec8137ae823d3c5da8c6bec5ac6e Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sat, 19 Jan 2019 23:45:36 +0100 Subject: Store numa-noda and cpu-index in vlib_main_t Change-Id: If88ccd965122b9318a39a8d71b53334cd1fd81e4 Signed-off-by: Damjan Marion --- src/vlib/main.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/vlib/main.h') diff --git a/src/vlib/main.h b/src/vlib/main.h index 474756bebd6..8a25ce8b4cc 100644 --- a/src/vlib/main.h +++ b/src/vlib/main.h @@ -172,8 +172,10 @@ typedef struct vlib_main_t /* Hash table to record which init functions have been called. */ uword *init_functions_called; - /* to compare with node runtime */ + /* thread, cpu and numa_node indices */ u32 thread_index; + u32 cpu_index; + u32 numa_node; /* List of init functions to call, setup by constructors */ _vlib_init_function_list_elt_t *init_function_registrations; -- cgit 1.2.3-korg