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_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 185 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 251 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 70 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 123 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,
}
static clib_error_t * show_virtio_pci_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:185

(constructor) VLIB_CLI_COMMAND (show_virtio_pci_command)

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

(constructor) VLIB_CLI_COMMAND (virtio_pci_create_command)

Definition at line 61 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>}",
}
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:70

(constructor) VLIB_CLI_COMMAND (virtio_pci_delete_command)

Definition at line 114 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]",
}
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:123

(constructor) VLIB_CLI_COMMAND (virtio_pci_enable_command)

Definition at line 176 of file cli.c.