FD.io VPP  v18.07-rc0-415-g6c78436
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

clib_error_t* avf_cli_init ( vlib_main_t vm)

Definition at line 187 of file cli.c.

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:

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 69 of file cli.c.

+ Here is the call graph for this function:

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 121 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

vlib_cli_command_t avf_create_command
static
Initial value:
= {
.path = "create interface avf",
.short_help = "create interface avf <pci-address>",
.function = 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

(constructor) VLIB_CLI_COMMAND (avf_create_command)

Definition at line 61 of file cli.c.

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,
}
static clib_error_t * avf_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:69

(constructor) VLIB_CLI_COMMAND (avf_delete_command)

Definition at line 112 of file cli.c.

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,
}
static clib_error_t * avf_test_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:121

(constructor) VLIB_CLI_COMMAND (avf_test_command)

Definition at line 178 of file cli.c.