FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
main.c File Reference
+ Include dependency graph for main.c:

Go to the source code of this file.

Functions

static void vpp_find_plugin_path ()
 
static void vpe_main_init (vlib_main_t *vm)
 
int main (int argc, char *argv[])
 
static clib_error_tmemory_config (vlib_main_t *vm, unformat_input_t *input)
 
static clib_error_theapsize_config (vlib_main_t *vm, unformat_input_t *input)
 
static clib_error_tplaceholder_path_config (vlib_main_t *vm, unformat_input_t *input)
 
static clib_error_tplugin_path_config (vlib_main_t *vm, unformat_input_t *input)
 
static clib_error_ttest_plugin_path_config (vlib_main_t *vm, unformat_input_t *input)
 
void vl_msg_api_post_mortem_dump (void)
 
void vlib_post_mortem_dump (void)
 
void os_panic (void)
 
void vhost_user_unmap_all (void)
 
void os_exit (int code)
 
void vl_msg_api_barrier_sync (void)
 
void vl_msg_api_barrier_release (void)
 
u32 vlib_app_num_thread_stacks_needed (void)
 
static clib_error_tshow_bihash_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

char * vlib_plugin_path = NULL
 
char * vlib_plugin_app_version = VPP_BUILD_VER
 
char * vat_plugin_path = NULL
 
char * vlib_default_runtime_dir = "vpp"
 
static vlib_cli_command_t show_bihash_command
 (constructor) VLIB_CLI_COMMAND (show_bihash_command) More...
 

Function Documentation

◆ heapsize_config()

static clib_error_t* heapsize_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 357 of file main.c.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 106 of file main.c.

+ Here is the call graph for this function:

◆ memory_config()

static clib_error_t* memory_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 349 of file main.c.

◆ os_exit()

void os_exit ( int  code)

Definition at line 417 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ os_panic()

void os_panic ( void  )

Definition at line 403 of file main.c.

+ Here is the call graph for this function:

◆ placeholder_path_config()

static clib_error_t* placeholder_path_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 365 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ plugin_path_config()

static clib_error_t* plugin_path_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 384 of file main.c.

+ Here is the call graph for this function:

◆ show_bihash_command_fn()

static clib_error_t* show_bihash_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 473 of file main.c.

+ Here is the call graph for this function:

◆ test_plugin_path_config()

static clib_error_t* test_plugin_path_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 392 of file main.c.

+ Here is the call graph for this function:

◆ vhost_user_unmap_all()

void vhost_user_unmap_all ( void  )

Definition at line 412 of file main.c.

+ Here is the caller graph for this function:

◆ vl_msg_api_barrier_release()

void vl_msg_api_barrier_release ( void  )

Definition at line 451 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vl_msg_api_barrier_sync()

void vl_msg_api_barrier_sync ( void  )

Definition at line 445 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vl_msg_api_post_mortem_dump()

void vl_msg_api_post_mortem_dump ( void  )

Definition at line 969 of file api_shared.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vlib_app_num_thread_stacks_needed()

u32 vlib_app_num_thread_stacks_needed ( void  )

Definition at line 458 of file main.c.

◆ vlib_post_mortem_dump()

void vlib_post_mortem_dump ( void  )

Definition at line 748 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vpe_main_init()

static void vpe_main_init ( vlib_main_t vm)
static

Definition at line 75 of file main.c.

+ Here is the call graph for this function:

◆ vpp_find_plugin_path()

static void vpp_find_plugin_path ( )
static

Definition at line 39 of file main.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ show_bihash_command

vlib_cli_command_t show_bihash_command
static
Initial value:
=
{
.path = "show bihash",
.short_help = "show bihash",
}

(constructor) VLIB_CLI_COMMAND (show_bihash_command)

Definition at line 493 of file main.c.

◆ vat_plugin_path

char* vat_plugin_path = NULL

Definition at line 36 of file main.c.

◆ vlib_default_runtime_dir

char* vlib_default_runtime_dir = "vpp"

Definition at line 103 of file main.c.

◆ vlib_plugin_app_version

char* vlib_plugin_app_version = VPP_BUILD_VER

Definition at line 35 of file main.c.

◆ vlib_plugin_path

char* vlib_plugin_path = NULL

Definition at line 34 of file main.c.

show_bihash_command_fn
static clib_error_t * show_bihash_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: main.c:473