diff options
author | Damjan Marion <damarion@cisco.com> | 2016-06-27 08:30:30 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-06-29 13:26:21 +0000 |
commit | 0f8ecf0eb267d580da4d963a0e0420eb15238d78 (patch) | |
tree | 607f051a28617d6f1fbe2a423553a2ff6f1eb085 /vlib/vlib/threads.h | |
parent | 2838a2355a130b951ef5e3ebbf630f6d2c65b120 (diff) |
Decouple worker thread code from dpdk, enable worker threads in vpp_lite
Change-Id: I28616f1a89f2da95484438ec1a1db64845f15ef6
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vlib/vlib/threads.h')
-rw-r--r-- | vlib/vlib/threads.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/vlib/vlib/threads.h b/vlib/vlib/threads.h index f81be798626..e3b902ae518 100644 --- a/vlib/vlib/threads.h +++ b/vlib/vlib/threads.h @@ -298,7 +298,17 @@ typedef struct { uword * cpu_socket_bitmap; vlib_efd_t efd; - + + /* handoff node index */ + u32 handoff_dispatch_node_index; + + /* for frame queue tracing */ + frame_queue_trace_t *frame_queue_traces; + frame_queue_nelt_counter_t *frame_queue_histogram; + + /* worker thread initialization barrier */ + volatile u32 worker_thread_release; + } vlib_thread_main_t; vlib_thread_main_t vlib_thread_main; |