FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
vlib_main_t Struct Reference
+ Collaboration diagram for vlib_main_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

clib_time_t clib_time
 
f64 time_offset
 
f64 time_last_barrier_release
 
u64 cpu_time_last_node_dispatch
 
u64 cpu_time_main_loop_start
 
u32 main_loop_count
 
u32 main_loop_vectors_processed
 
u32 main_loop_nodes_processed
 
u32 vector_counts_per_main_loop [2]
 
u32 node_counts_per_main_loop [2]
 
void(* vlib_node_runtime_perf_counter_cb )(struct vlib_main_t *, u64 *, u64 *)
 
u32 main_loop_exit_set
 
volatile u32 main_loop_exit_now
 
clib_longjmp_t main_loop_exit
 
clib_error_tmain_loop_error
 
char * name
 
void * heap_base
 
void * heap_aligned_base
 
uword heap_size
 
vlib_buffer_main_tbuffer_main
 
vlib_physmem_main_t physmem_main
 
vlib_node_main_t node_main
 
vlib_cli_main_t cli_main
 
vlib_trace_main_t trace_main
 
pcap_main_t dispatch_pcap_main
 
uword dispatch_pcap_enable
 
u8pcap_buffer
 
vnet_pcap_t pcap [VLIB_N_RX_TX]
 
int pcap_enable
 
pcap_main_t pcap_main
 
u8pcap_filename
 
u32 pcap_sw_if_index
 
u32 pcap_pkts_to_capture
 
vlib_error_main_t error_main
 
void(* os_punt_frame )(struct vlib_main_t *vm, struct vlib_node_runtime_t *node, vlib_frame_t *frame)
 
u32 mc_stream_index
 
vlib_one_time_waiting_process_tprocs_waiting_for_mc_stream_join
 
elog_main_t elog_main
 
int elog_trace_api_messages
 
int elog_trace_cli_commands
 
int elog_trace_graph_dispatch
 
int elog_trace_graph_circuit
 
u32 elog_trace_graph_circuit_node_index
 
elog_event_type_tnode_call_elog_event_types
 
elog_event_type_tnode_return_elog_event_types
 
elog_event_type_terror_elog_event_types
 
uword random_seed
 
clib_random_buffer_t random_buffer
 
uwordinit_functions_called
 
u32 thread_index
 
u32 cpu_id
 
u32 numa_node
 
_vlib_init_function_list_elt_t * init_function_registrations
 
_vlib_init_function_list_elt_t * worker_init_function_registrations
 
_vlib_init_function_list_elt_t * main_loop_enter_function_registrations
 
_vlib_init_function_list_elt_t * main_loop_exit_function_registrations
 
_vlib_init_function_list_elt_t * api_init_function_registrations
 
vlib_config_function_runtime_tconfig_function_registrations
 
volatile u32 queue_signal_pending
 
volatile u32 api_queue_nonempty
 
void(* queue_signal_callback )(struct vlib_main_t *)
 
u8 ** argv
 
volatile void(* worker_thread_main_loop_callback )(struct vlib_main_t *)
 
volatile int parked_at_barrier
 
int elog_post_mortem_dump
 
int need_vlib_worker_thread_node_runtime_update
 
f64 barrier_epoch
 
f64 barrier_no_close_before
 
volatile uword check_frame_queues
 
uwordpending_rpc_requests
 
uwordprocessing_rpc_requests
 
clib_spinlock_t pending_rpc_lock
 

Detailed Description

Definition at line 68 of file main.h.

Member Function Documentation

vlib_main_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

_vlib_init_function_list_elt_t* vlib_main_t::api_init_function_registrations

Definition at line 206 of file main.h.

volatile u32 vlib_main_t::api_queue_nonempty

Definition at line 211 of file main.h.

u8** vlib_main_t::argv

Definition at line 213 of file main.h.

f64 vlib_main_t::barrier_epoch

Definition at line 234 of file main.h.

f64 vlib_main_t::barrier_no_close_before

Definition at line 237 of file main.h.

vlib_buffer_main_t* vlib_main_t::buffer_main

Definition at line 129 of file main.h.

volatile uword vlib_main_t::check_frame_queues

Definition at line 240 of file main.h.

vlib_cli_main_t vlib_main_t::cli_main

Definition at line 138 of file main.h.

clib_time_t vlib_main_t::clib_time

Definition at line 72 of file main.h.

vlib_config_function_runtime_t* vlib_main_t::config_function_registrations

Definition at line 207 of file main.h.

u32 vlib_main_t::cpu_id

Definition at line 198 of file main.h.

u64 vlib_main_t::cpu_time_last_node_dispatch

Definition at line 78 of file main.h.

u64 vlib_main_t::cpu_time_main_loop_start

Definition at line 81 of file main.h.

uword vlib_main_t::dispatch_pcap_enable

Definition at line 145 of file main.h.

pcap_main_t vlib_main_t::dispatch_pcap_main

Definition at line 144 of file main.h.

elog_main_t vlib_main_t::elog_main

Definition at line 172 of file main.h.

int vlib_main_t::elog_post_mortem_dump

Definition at line 222 of file main.h.

int vlib_main_t::elog_trace_api_messages

Definition at line 175 of file main.h.

int vlib_main_t::elog_trace_cli_commands

Definition at line 176 of file main.h.

int vlib_main_t::elog_trace_graph_circuit

Definition at line 178 of file main.h.

u32 vlib_main_t::elog_trace_graph_circuit_node_index

Definition at line 179 of file main.h.

int vlib_main_t::elog_trace_graph_dispatch

Definition at line 177 of file main.h.

elog_event_type_t* vlib_main_t::error_elog_event_types

Definition at line 185 of file main.h.

vlib_error_main_t vlib_main_t::error_main

Definition at line 158 of file main.h.

void* vlib_main_t::heap_aligned_base

Definition at line 123 of file main.h.

void* vlib_main_t::heap_base

Definition at line 120 of file main.h.

uword vlib_main_t::heap_size

Definition at line 126 of file main.h.

_vlib_init_function_list_elt_t* vlib_main_t::init_function_registrations

Definition at line 202 of file main.h.

uword* vlib_main_t::init_functions_called

Definition at line 194 of file main.h.

u32 vlib_main_t::main_loop_count

Definition at line 84 of file main.h.

_vlib_init_function_list_elt_t* vlib_main_t::main_loop_enter_function_registrations

Definition at line 204 of file main.h.

clib_error_t* vlib_main_t::main_loop_error

Definition at line 114 of file main.h.

clib_longjmp_t vlib_main_t::main_loop_exit

Definition at line 107 of file main.h.

_vlib_init_function_list_elt_t* vlib_main_t::main_loop_exit_function_registrations

Definition at line 205 of file main.h.

volatile u32 vlib_main_t::main_loop_exit_now

Definition at line 106 of file main.h.

u32 vlib_main_t::main_loop_exit_set

Definition at line 104 of file main.h.

u32 vlib_main_t::main_loop_nodes_processed

Definition at line 88 of file main.h.

u32 vlib_main_t::main_loop_vectors_processed

Definition at line 87 of file main.h.

u32 vlib_main_t::mc_stream_index

Definition at line 167 of file main.h.

char* vlib_main_t::name

Definition at line 117 of file main.h.

int vlib_main_t::need_vlib_worker_thread_node_runtime_update

Definition at line 228 of file main.h.

elog_event_type_t* vlib_main_t::node_call_elog_event_types

Definition at line 182 of file main.h.

u32 vlib_main_t::node_counts_per_main_loop[2]

Definition at line 94 of file main.h.

vlib_node_main_t vlib_main_t::node_main

Definition at line 135 of file main.h.

elog_event_type_t* vlib_main_t::node_return_elog_event_types

Definition at line 183 of file main.h.

u32 vlib_main_t::numa_node

Definition at line 199 of file main.h.

void(* vlib_main_t::os_punt_frame) (struct vlib_main_t *vm, struct vlib_node_runtime_t *node, vlib_frame_t *frame)

Definition at line 162 of file main.h.

volatile int vlib_main_t::parked_at_barrier

Definition at line 219 of file main.h.

vnet_pcap_t vlib_main_t::pcap[VLIB_N_RX_TX]

Definition at line 149 of file main.h.

u8* vlib_main_t::pcap_buffer

Definition at line 146 of file main.h.

int vlib_main_t::pcap_enable

Definition at line 151 of file main.h.

u8* vlib_main_t::pcap_filename

Definition at line 153 of file main.h.

pcap_main_t vlib_main_t::pcap_main

Definition at line 152 of file main.h.

u32 vlib_main_t::pcap_pkts_to_capture

Definition at line 155 of file main.h.

u32 vlib_main_t::pcap_sw_if_index

Definition at line 154 of file main.h.

clib_spinlock_t vlib_main_t::pending_rpc_lock

Definition at line 245 of file main.h.

uword* vlib_main_t::pending_rpc_requests

Definition at line 243 of file main.h.

vlib_physmem_main_t vlib_main_t::physmem_main

Definition at line 132 of file main.h.

uword* vlib_main_t::processing_rpc_requests

Definition at line 244 of file main.h.

vlib_one_time_waiting_process_t* vlib_main_t::procs_waiting_for_mc_stream_join

Definition at line 169 of file main.h.

void(* vlib_main_t::queue_signal_callback) (struct vlib_main_t *)

Definition at line 212 of file main.h.

volatile u32 vlib_main_t::queue_signal_pending

Definition at line 210 of file main.h.

clib_random_buffer_t vlib_main_t::random_buffer

Definition at line 191 of file main.h.

uword vlib_main_t::random_seed

Definition at line 188 of file main.h.

u32 vlib_main_t::thread_index

Definition at line 197 of file main.h.

f64 vlib_main_t::time_last_barrier_release

Definition at line 75 of file main.h.

f64 vlib_main_t::time_offset

Definition at line 74 of file main.h.

vlib_trace_main_t vlib_main_t::trace_main

Definition at line 141 of file main.h.

u32 vlib_main_t::vector_counts_per_main_loop[2]

Definition at line 93 of file main.h.

void(* vlib_main_t::vlib_node_runtime_perf_counter_cb) (struct vlib_main_t *, u64 *, u64 *)

Definition at line 97 of file main.h.

_vlib_init_function_list_elt_t* vlib_main_t::worker_init_function_registrations

Definition at line 203 of file main.h.

volatile void(* vlib_main_t::worker_thread_main_loop_callback) (struct vlib_main_t *)

Definition at line 216 of file main.h.


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