Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed the SUSE dependency on libnuma
[vpp.git]
/
src
/
vlib
/
main.h
diff --git
a/src/vlib/main.h
b/src/vlib/main.h
index
98bc823
..
bfa7ddb
100644
(file)
--- a/
src/vlib/main.h
+++ b/
src/vlib/main.h
@@
-156,7
+156,7
@@
typedef struct vlib_main_t
uword *init_functions_called;
/* to compare with node runtime */
uword *init_functions_called;
/* to compare with node runtime */
- u32
cpu
_index;
+ u32
thread
_index;
void **mbuf_alloc_list;
void **mbuf_alloc_list;
@@
-174,6
+174,13
@@
typedef struct vlib_main_t
volatile u32 api_queue_nonempty;
void (*queue_signal_callback) (struct vlib_main_t *);
u8 **argv;
volatile u32 api_queue_nonempty;
void (*queue_signal_callback) (struct vlib_main_t *);
u8 **argv;
+
+ /* debugging */
+ volatile int parked_at_barrier;
+
+ /* Attempt to do a post-mortem elog dump */
+ int elog_post_mortem_dump;
+
} vlib_main_t;
/* Global main structure. */
} vlib_main_t;
/* Global main structure. */
@@
-317,7
+324,7
@@
always_inline void vlib_set_queue_signal_callback
/* Main routine. */
int vlib_main (vlib_main_t * vm, unformat_input_t * input);
/* Main routine. */
int vlib_main (vlib_main_t * vm, unformat_input_t * input);
-/* Thread stacks, for os_get_
cpu_number
*/
+/* Thread stacks, for os_get_
thread_index
*/
extern u8 **vlib_thread_stacks;
/* Number of thread stacks that the application needs */
extern u8 **vlib_thread_stacks;
/* Number of thread stacks that the application needs */