FD.io VPP  v21.10.1-2-g0a485f517
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_tvirtio_pci_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tvirtio_pci_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tvirtio_pci_enable_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_virtio_pci_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tvirtio_pci_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t virtio_pci_create_command
 (constructor) VLIB_CLI_COMMAND (virtio_pci_create_command) More...
 
static vlib_cli_command_t virtio_pci_delete_command
 (constructor) VLIB_CLI_COMMAND (virtio_pci_delete_command) More...
 
static vlib_cli_command_t virtio_pci_enable_command
 (constructor) VLIB_CLI_COMMAND (virtio_pci_enable_command) More...
 
static vlib_cli_command_t show_virtio_pci_command
 (constructor) VLIB_CLI_COMMAND (show_virtio_pci_command) More...
 

Function Documentation

◆ show_virtio_pci_fn()

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

Definition at line 195 of file cli.c.

+ Here is the call graph for this function:

◆ virtio_pci_cli_init()

clib_error_t* virtio_pci_cli_init ( vlib_main_t vm)

Definition at line 260 of file cli.c.

◆ virtio_pci_create_command_fn()

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

Definition at line 27 of file cli.c.

+ Here is the call graph for this function:

◆ virtio_pci_delete_command_fn()

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

◆ virtio_pci_enable_command_fn()

static clib_error_t* virtio_pci_enable_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

◆ show_virtio_pci_command

vlib_cli_command_t show_virtio_pci_command
static
Initial value:
= {
.path = "show virtio pci",
.short_help = "show virtio pci [<interface>] [descriptors | desc] [debug-device]",
.function = show_virtio_pci_fn,
}

(constructor) VLIB_CLI_COMMAND (show_virtio_pci_command)

Definition at line 252 of file cli.c.

◆ virtio_pci_create_command

vlib_cli_command_t virtio_pci_create_command
static
Initial value:
= {
.path = "create interface virtio",
.short_help = "create interface virtio <pci-address> "
"[feature-mask <hex-mask>] [gso-enabled] [csum-enabled] "
"[buffering [size <buffering-szie>]] [packed]",
}

(constructor) VLIB_CLI_COMMAND (virtio_pci_create_command)

Definition at line 70 of file cli.c.

◆ virtio_pci_delete_command

vlib_cli_command_t virtio_pci_delete_command
static
Initial value:
= {
.path = "delete interface virtio",
.short_help = "delete interface virtio "
"{<interface> | sw_if_index <sw_idx>}",
}

(constructor) VLIB_CLI_COMMAND (virtio_pci_delete_command)

Definition at line 124 of file cli.c.

◆ virtio_pci_enable_command

vlib_cli_command_t virtio_pci_enable_command
static
Initial value:
= {
.path = "set virtio pci",
.short_help = "set virtio pci {<interface> | sw_if_index <sw_idx>}"
" [gso-enabled | csum-offload-enabled | offloads-disabled]",
}

(constructor) VLIB_CLI_COMMAND (virtio_pci_enable_command)

Definition at line 186 of file cli.c.

virtio_pci_delete_command_fn
static clib_error_t * virtio_pci_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:80
virtio_pci_enable_command_fn
static clib_error_t * virtio_pci_enable_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:133
virtio_pci_create_command_fn
static clib_error_t * virtio_pci_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:27
show_virtio_pci_fn
static clib_error_t * show_virtio_pci_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:195