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_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 200 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 419 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 581 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 87 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 139 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,
}

(constructor) VLIB_CLI_COMMAND (show_vmxnet3_command)

Definition at line 572 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]",
}

(constructor) VLIB_CLI_COMMAND (vmxnet3_create_command)

Definition at line 76 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>}",
}

(constructor) VLIB_CLI_COMMAND (vmxnet3_delete_command)

Definition at line 130 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]",
}

(constructor) VLIB_CLI_COMMAND (vmxnet3_test_command)

Definition at line 191 of file cli.c.

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)
Definition: cli.c:30
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)
Definition: cli.c:139
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:419
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)
Definition: cli.c:87