FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
vlib_worker_thread_t Struct Reference
+ Collaboration diagram for vlib_worker_thread_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 
 CLIB_CACHE_LINE_ALIGN_MARK (cacheline1)
 

Data Fields

volatile u32wait_at_barrier
 
volatile u32workers_at_barrier
 
void * thread_mheap
 
u8thread_stack
 
void(* thread_function )(void *)
 
void * thread_function_arg
 
i64 recursion_level
 
elog_track_t elog_track
 
u32 instance_id
 
vlib_thread_registration_tregistration
 
u8name
 
u64 barrier_sync_count
 
u8 barrier_elog_enabled
 
const char * barrier_caller
 
const char * barrier_context
 
volatile u32node_reforks_required
 
long lwp
 
int cpu_id
 
int core_id
 
int socket_id
 
pthread_t thread_id
 

Detailed Description

Definition at line 86 of file threads.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK() [1/2]

vlib_worker_thread_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

◆ CLIB_CACHE_LINE_ALIGN_MARK() [2/2]

vlib_worker_thread_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline1  )

Field Documentation

◆ barrier_caller

const char* vlib_worker_thread_t::barrier_caller

Definition at line 106 of file threads.h.

◆ barrier_context

const char* vlib_worker_thread_t::barrier_context

Definition at line 107 of file threads.h.

◆ barrier_elog_enabled

u8 vlib_worker_thread_t::barrier_elog_enabled

Definition at line 105 of file threads.h.

◆ barrier_sync_count

u64 vlib_worker_thread_t::barrier_sync_count

Definition at line 104 of file threads.h.

◆ core_id

int vlib_worker_thread_t::core_id

Definition at line 112 of file threads.h.

◆ cpu_id

int vlib_worker_thread_t::cpu_id

Definition at line 111 of file threads.h.

◆ elog_track

elog_track_t vlib_worker_thread_t::elog_track

Definition at line 100 of file threads.h.

◆ instance_id

u32 vlib_worker_thread_t::instance_id

Definition at line 101 of file threads.h.

◆ lwp

long vlib_worker_thread_t::lwp

Definition at line 110 of file threads.h.

◆ name

u8* vlib_worker_thread_t::name

Definition at line 103 of file threads.h.

◆ node_reforks_required

volatile u32* vlib_worker_thread_t::node_reforks_required

Definition at line 108 of file threads.h.

◆ recursion_level

i64 vlib_worker_thread_t::recursion_level

Definition at line 99 of file threads.h.

◆ registration

vlib_thread_registration_t* vlib_worker_thread_t::registration

Definition at line 102 of file threads.h.

◆ socket_id

int vlib_worker_thread_t::socket_id

Definition at line 113 of file threads.h.

◆ thread_function

void(* vlib_worker_thread_t::thread_function) (void *)

Definition at line 97 of file threads.h.

◆ thread_function_arg

void* vlib_worker_thread_t::thread_function_arg

Definition at line 98 of file threads.h.

◆ thread_id

pthread_t vlib_worker_thread_t::thread_id

Definition at line 114 of file threads.h.

◆ thread_mheap

void* vlib_worker_thread_t::thread_mheap

Definition at line 95 of file threads.h.

◆ thread_stack

u8* vlib_worker_thread_t::thread_stack

Definition at line 96 of file threads.h.

◆ wait_at_barrier

volatile u32* vlib_worker_thread_t::wait_at_barrier

Definition at line 90 of file threads.h.

◆ workers_at_barrier

volatile u32* vlib_worker_thread_t::workers_at_barrier

Definition at line 91 of file threads.h.


The documentation for this struct was generated from the following file: