FD.io VPP  v19.04.1-1-ge4a0f9f
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)
 
static clib_error_tvmxnet3_config (vlib_main_t *vm, unformat_input_t *input)
 

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

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 413 of file cli.c.

+ Here is the call graph for this function:

clib_error_t* vmxnet3_cli_init ( vlib_main_t vm)

Definition at line 576 of file cli.c.

+ Here is the call graph for this function:

static clib_error_t* vmxnet3_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 590 of file cli.c.

+ Here is the call graph for this function:

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:

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

+ Here is the call graph for this function:

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

+ Here is the call graph for this function:

Variable Documentation

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:413

(constructor) VLIB_CLI_COMMAND (show_vmxnet3_command)

Definition at line 567 of file cli.c.

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]",
}
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 70 of file cli.c.

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:80

(constructor) VLIB_CLI_COMMAND (vmxnet3_delete_command)

Definition at line 123 of file cli.c.

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:132

(constructor) VLIB_CLI_COMMAND (vmxnet3_test_command)

Definition at line 184 of file cli.c.