FD.io VPP  v19.04-6-g6f05f72
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 199 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 81 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 133 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> "
"[rx-queue-size <size>] [tx-queue-size <size>] "
"[num-rx-queues <size>]",
.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 71 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:81

(constructor) VLIB_CLI_COMMAND (avf_delete_command)

Definition at line 124 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:133

(constructor) VLIB_CLI_COMMAND (avf_test_command)

Definition at line 190 of file cli.c.