FD.io VPP  v19.04.4-rc0-5-ge88582fac
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_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 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 124 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 190 of file cli.c.

+ Here is the call graph for this function:

◆ 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 71 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:124

(constructor) VLIB_CLI_COMMAND (show_virtio_pci_command)

Definition at line 182 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>] [rx-queue-size <size>] [tx-queue-size <size>]",
}
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 62 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:71

(constructor) VLIB_CLI_COMMAND (virtio_pci_delete_command)

Definition at line 115 of file cli.c.