FD.io VPP  v20.05.1-6-gf53edbc3b
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_tvmxnet3_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tvmxnet3_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tvmxnet3_test_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static void show_vmxnet3 (vlib_main_t *vm, u32 *hw_if_indices, u8 show_descr, u8 show_one_table, u32 which, u8 show_one_slot, u32 slot)
 
static clib_error_tshow_vmxnet3_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tvmxnet3_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t vmxnet3_create_command
 (constructor) VLIB_CLI_COMMAND (vmxnet3_create_command) More...
 
static vlib_cli_command_t vmxnet3_delete_command
 (constructor) VLIB_CLI_COMMAND (vmxnet3_delete_command) More...
 
static vlib_cli_command_t vmxnet3_test_command
 (constructor) VLIB_CLI_COMMAND (vmxnet3_test_command) More...
 
static vlib_cli_command_t show_vmxnet3_command
 (constructor) VLIB_CLI_COMMAND (show_vmxnet3_command) More...
 

Function Documentation

◆ show_vmxnet3()

static void show_vmxnet3 ( vlib_main_t vm,
u32 hw_if_indices,
u8  show_descr,
u8  show_one_table,
u32  which,
u8  show_one_slot,
u32  slot 
)
static

Definition at line 197 of file cli.c.

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

◆ show_vmxnet3_fn()

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

Definition at line 416 of file cli.c.

+ Here is the call graph for this function:

◆ vmxnet3_cli_init()

clib_error_t* vmxnet3_cli_init ( vlib_main_t vm)

Definition at line 579 of file cli.c.

+ Here is the call graph for this function:

◆ vmxnet3_create_command_fn()

static clib_error_t* vmxnet3_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:

◆ vmxnet3_delete_command_fn()

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

Definition at line 84 of file cli.c.

+ Here is the call graph for this function:

◆ vmxnet3_test_command_fn()

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

Definition at line 136 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ show_vmxnet3_command

vlib_cli_command_t show_vmxnet3_command
static
Initial value:
= {
.path = "show vmxnet3",
.short_help = "show vmxnet3 [[<interface>] ([desc] | ([rx-comp] | "
"[rx-desc-0] | [rx-desc-1] | [tx-comp] | [tx-desc]) [<slot>])]",
.function = show_vmxnet3_fn,
}
static clib_error_t * show_vmxnet3_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:416

(constructor) VLIB_CLI_COMMAND (show_vmxnet3_command)

Definition at line 570 of file cli.c.

◆ vmxnet3_create_command

vlib_cli_command_t vmxnet3_create_command
static
Initial value:
= {
.path = "create interface vmxnet3",
.short_help = "create interface vmxnet3 <pci-address>"
" [rx-queue-size <size>] [tx-queue-size <size>]"
" [num-tx-queues <number>] [num-rx-queues <number>] [bind]"
" [gso]",
}
static clib_error_t * vmxnet3_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:30

(constructor) VLIB_CLI_COMMAND (vmxnet3_create_command)

Definition at line 73 of file cli.c.

◆ vmxnet3_delete_command

vlib_cli_command_t vmxnet3_delete_command
static
Initial value:
= {
.path = "delete interface vmxnet3",
.short_help = "delete interface vmxnet3 "
"{<interface> | sw_if_index <sw_idx>}",
}
static clib_error_t * vmxnet3_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:84

(constructor) VLIB_CLI_COMMAND (vmxnet3_delete_command)

Definition at line 127 of file cli.c.

◆ vmxnet3_test_command

vlib_cli_command_t vmxnet3_test_command
static
Initial value:
= {
.path = "test vmxnet3",
.short_help = "test vmxnet3 <interface> | sw_if_index <sw_idx> [irq] "
"[elog-on] [elog-off]",
}
static clib_error_t * vmxnet3_test_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:136

(constructor) VLIB_CLI_COMMAND (vmxnet3_test_command)

Definition at line 188 of file cli.c.