Decouple worker thread code from dpdk, enable worker threads in vpp_lite
Change-Id: I28616f1a89f2da95484438ec1a1db64845f15ef6 Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:

committed by
Dave Barach

parent
2838a2355a
commit
0f8ecf0eb2
@@ -663,4 +663,22 @@ typedef struct {
|
||||
vlib_node_registration_t * node_registrations;
|
||||
} vlib_node_main_t;
|
||||
|
||||
|
||||
#define FRAME_QUEUE_MAX_NELTS 32
|
||||
typedef struct {
|
||||
CLIB_CACHE_LINE_ALIGN_MARK(cacheline0);
|
||||
u64 head;
|
||||
u64 head_hint;
|
||||
u64 tail;
|
||||
u32 n_in_use;
|
||||
u32 nelts;
|
||||
u32 written;
|
||||
u32 threshold;
|
||||
i32 n_vectors[FRAME_QUEUE_MAX_NELTS];
|
||||
} frame_queue_trace_t;
|
||||
|
||||
typedef struct {
|
||||
u64 count[FRAME_QUEUE_MAX_NELTS];
|
||||
} frame_queue_nelt_counter_t;
|
||||
|
||||
#endif /* included_vlib_node_h */
|
||||
|
Reference in New Issue
Block a user