diff options
author | Damjan Marion <damarion@cisco.com> | 2019-01-19 23:45:36 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-01-20 19:23:42 +0000 |
commit | 0a78fa17cbbeec8137ae823d3c5da8c6bec5ac6e (patch) | |
tree | 140c217c3a46ae5ef2bc898adadf5af0b4c75c0c /src/vlib/main.h | |
parent | 4d2f86a1ebcfc952080386603354c4767d2c8825 (diff) |
Store numa-noda and cpu-index in vlib_main_t
Change-Id: If88ccd965122b9318a39a8d71b53334cd1fd81e4
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/main.h')
-rw-r--r-- | src/vlib/main.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; |