FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | vlib_main_t |
Macros | |
#define | VLIB_ELOG_MAIN_LOOP 0 |
#define | VLIB_LOG2_MAIN_LOOPS_PER_STATS_UPDATE 7 |
#define | VLIB_MAIN_LOOP_EXIT_NONE 0 |
#define | VLIB_MAIN_LOOP_EXIT_PANIC 1 |
#define | VLIB_MAIN_LOOP_EXIT_CLI 2 |
#define | vlib_time_code(vm, body) |
#define | vlib_wait_with_timeout(vm, suspend_time, timeout_time, test) |
#define | vlib_panic_with_msg(vm, args...) vlib_panic_with_error (vm, clib_error_return (0, args)) |
Typedefs | |
typedef struct vlib_main_t | vlib_main_t |
Functions | |
void | vlib_worker_loop (vlib_main_t *vm) |
static f64 | vlib_time_now (vlib_main_t *vm) |
static f64 | vlib_time_now_ticks (vlib_main_t *vm, u64 n) |
static void | vlib_time_wait (vlib_main_t *vm, f64 wait) |
static void | vlib_panic_with_error (vlib_main_t *vm, clib_error_t *error) |
static void | vlib_panic (vlib_main_t *vm) |
static u32 | vlib_vector_input_stats_index (vlib_main_t *vm, word delta) |
static u32 | vlib_last_vectors_per_main_loop (vlib_main_t *vm) |
static f64 | vlib_last_vectors_per_main_loop_as_f64 (vlib_main_t *vm) |
static f64 | vlib_last_vector_length_per_node (vlib_main_t *vm) |
static void | vlib_increment_main_loop_counter (vlib_main_t *vm) |
static void | vlib_set_queue_signal_callback (vlib_main_t *vm, void(*fp)(vlib_main_t *)) |
int | vlib_main (vlib_main_t *vm, unformat_input_t *input) |
u32 | vlib_app_num_thread_stacks_needed (void) |
void | vlib_node_sync_stats (vlib_main_t *vm, vlib_node_t *n) |
Variables | |
vlib_main_t | vlib_global_main |
u32 | wraps |
u8 ** | vlib_thread_stacks |
#define vlib_panic_with_msg | ( | vm, | |
args... | |||
) | vlib_panic_with_error (vm, clib_error_return (0, args)) |
#define vlib_time_code | ( | vm, | |
body | |||
) |
#define vlib_wait_with_timeout | ( | vm, | |
suspend_time, | |||
timeout_time, | |||
test | |||
) |
typedef struct vlib_main_t vlib_main_t |
u32 vlib_app_num_thread_stacks_needed | ( | void | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
int vlib_main | ( | vlib_main_t * | vm, |
unformat_input_t * | input | ||
) |
void vlib_node_sync_stats | ( | vlib_main_t * | vm, |
vlib_node_t * | n | ||
) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
void vlib_worker_loop | ( | vlib_main_t * | vm | ) |
vlib_main_t vlib_global_main |