FD.io VPP  v18.10-34-gcce845e
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

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 187 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 405 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 568 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 74 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 126 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:405

(constructor) VLIB_CLI_COMMAND (show_vmxnet3_command)

Definition at line 559 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>]",
}
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 65 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:74

(constructor) VLIB_CLI_COMMAND (vmxnet3_delete_command)

Definition at line 117 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:126

(constructor) VLIB_CLI_COMMAND (vmxnet3_test_command)

Definition at line 178 of file cli.c.