FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
physmem.c File Reference
+ Include dependency graph for physmem.c:

Go to the source code of this file.

Macros

#define VLIB_PHYSMEM_DEFAULT_BASE_ADDDR   (1ULL << 36)
 

Functions

clib_error_tvlib_physmem_shared_map_create (vlib_main_t *vm, char *name, uword size, u32 log2_page_sz, u32 numa_node, u32 *map_index)
 
vlib_physmem_map_tvlib_physmem_get_map (vlib_main_t *vm, u32 index)
 
clib_error_tvlib_physmem_init (vlib_main_t *vm)
 
static clib_error_tshow_physmem (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tvlib_physmem_config (vlib_main_t *vm, unformat_input_t *input)
 

Variables

static vlib_cli_command_t show_physmem_command
 (constructor) VLIB_CLI_COMMAND (show_physmem_command) More...
 

Macro Definition Documentation

◆ VLIB_PHYSMEM_DEFAULT_BASE_ADDDR

#define VLIB_PHYSMEM_DEFAULT_BASE_ADDDR   (1ULL << 36)

Definition at line 35 of file physmem.c.

Function Documentation

◆ show_physmem()

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

Definition at line 129 of file physmem.c.

+ Here is the call graph for this function:

◆ vlib_physmem_config()

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

Definition at line 173 of file physmem.c.

+ Here is the call graph for this function:

◆ vlib_physmem_get_map()

vlib_physmem_map_t* vlib_physmem_get_map ( vlib_main_t vm,
u32  index 
)

Definition at line 87 of file physmem.c.

+ Here is the caller graph for this function:

◆ vlib_physmem_init()

clib_error_t* vlib_physmem_init ( vlib_main_t vm)

Definition at line 94 of file physmem.c.

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

◆ vlib_physmem_shared_map_create()

clib_error_t* vlib_physmem_shared_map_create ( vlib_main_t vm,
char *  name,
uword  size,
u32  log2_page_sz,
u32  numa_node,
u32 map_index 
)

Definition at line 42 of file physmem.c.

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

Variable Documentation

◆ show_physmem_command

vlib_cli_command_t show_physmem_command
static
Initial value:
= {
.path = "show physmem",
.short_help = "show physmem [verbose | detail | map]",
.function = show_physmem,
}
static clib_error_t * show_physmem(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: physmem.c:129

(constructor) VLIB_CLI_COMMAND (show_physmem_command)

Definition at line 165 of file physmem.c.