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

Go to the source code of this file.

Functions

static clib_error_tavf_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tavf_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tavf_test_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tavf_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t avf_create_command
 (constructor) VLIB_CLI_COMMAND (avf_create_command) More...
 
static vlib_cli_command_t avf_delete_command
 (constructor) VLIB_CLI_COMMAND (avf_delete_command) More...
 
static vlib_cli_command_t avf_test_command
 (constructor) VLIB_CLI_COMMAND (avf_test_command) More...
 

Function Documentation

◆ avf_cli_init()

clib_error_t* avf_cli_init ( vlib_main_t vm)

Definition at line 198 of file cli.c.

◆ avf_create_command_fn()

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

Definition at line 30 of file cli.c.

+ Here is the call graph for this function:

◆ avf_delete_command_fn()

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

Definition at line 83 of file cli.c.

+ Here is the call graph for this function:

◆ avf_test_command_fn()

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

Definition at line 133 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ avf_create_command

vlib_cli_command_t avf_create_command
static
Initial value:
= {
.path = "create interface avf",
.short_help = "create interface avf <pci-address> "
"[rx-queue-size <size>] [tx-queue-size <size>] "
"[num-rx-queues <size>]",
.function = avf_create_command_fn,
}

(constructor) VLIB_CLI_COMMAND (avf_create_command)

Definition at line 73 of file cli.c.

◆ avf_delete_command

vlib_cli_command_t avf_delete_command
static
Initial value:
= {
.path = "delete interface avf",
.short_help = "delete interface avf "
"{<interface> | sw_if_index <sw_idx>}",
.function = avf_delete_command_fn,
.is_mp_safe = 1,
}

(constructor) VLIB_CLI_COMMAND (avf_delete_command)

Definition at line 123 of file cli.c.

◆ avf_test_command

vlib_cli_command_t avf_test_command
static
Initial value:
= {
.path = "test avf",
.short_help = "test avf [<interface> | sw_if_index <sw_idx>] [irq] "
"[elog-on] [elog-off]",
.function = avf_test_command_fn,
}

(constructor) VLIB_CLI_COMMAND (avf_test_command)

Definition at line 189 of file cli.c.

avf_create_command_fn
static clib_error_t * avf_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:30
avf_delete_command_fn
static clib_error_t * avf_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:83
avf_test_command_fn
static clib_error_t * avf_test_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:133