FD.io VPP  v21.06-3-gbb25fbf28
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_taf_xdp_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_taf_xdp_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_taf_xdp_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t af_xdp_create_command
 (constructor) VLIB_CLI_COMMAND (af_xdp_create_command) More...
 
static vlib_cli_command_t af_xdp_delete_command
 (constructor) VLIB_CLI_COMMAND (af_xdp_delete_command) More...
 

Function Documentation

◆ af_xdp_cli_init()

clib_error_t* af_xdp_cli_init ( vlib_main_t vm)

Definition at line 111 of file cli.c.

◆ af_xdp_create_command_fn()

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

◆ af_xdp_delete_command_fn()

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

Definition at line 59 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ af_xdp_create_command

vlib_cli_command_t af_xdp_create_command
static
Initial value:
= {
.path = "create interface af_xdp",
.short_help =
"create interface af_xdp <host-if linux-ifname> [name ifname] "
"[rx-queue-size size] [tx-queue-size size] [num-rx-queues <num|all>] "
"[prog pathname] [zero-copy|no-zero-copy] [no-syscall-lock]",
}

(constructor) VLIB_CLI_COMMAND (af_xdp_create_command)

Definition at line 48 of file cli.c.

◆ af_xdp_delete_command

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

(constructor) VLIB_CLI_COMMAND (af_xdp_delete_command)

Definition at line 102 of file cli.c.

af_xdp_delete_command_fn
static clib_error_t * af_xdp_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:59
af_xdp_create_command_fn
static clib_error_t * af_xdp_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:30