FD.io VPP  v20.05.1-5-g09f167997
Vector Packet Processing
cli.c File Reference

CLI for DPDK Abstraction Layer and pcap Tx Trace. More...

+ Include dependency graph for cli.c:

Go to the source code of this file.

Macros

#define F_SETPIPE_SZ   (1024 + 7)
 

Functions

static clib_error_tshow_dpdk_buffer (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_dpdk_physmem (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_ttest_dpdk_buffer (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tset_dpdk_if_desc (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_dpdk_version_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
void dpdk_cli_reference (void)
 
clib_error_tdpdk_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t cmd_show_dpdk_buffer
 (constructor) VLIB_CLI_COMMAND (cmd_show_dpdk_buffer) More...
 
static vlib_cli_command_t cmd_show_dpdk_physmem
 (constructor) VLIB_CLI_COMMAND (cmd_show_dpdk_physmem) More...
 
static vlib_cli_command_t cmd_test_dpdk_buffer
 (constructor) VLIB_CLI_COMMAND (cmd_test_dpdk_buffer) More...
 
static vlib_cli_command_t cmd_set_dpdk_if_desc
 (constructor) VLIB_CLI_COMMAND (cmd_set_dpdk_if_desc) More...
 
static vlib_cli_command_t show_vpe_version_command
 (constructor) VLIB_CLI_COMMAND (show_vpe_version_command) More...
 

Detailed Description

CLI for DPDK Abstraction Layer and pcap Tx Trace.

This file contains the source code for CLI for DPDK Abstraction Layer and pcap Tx Trace.

Definition in file cli.c.

Macro Definition Documentation

◆ F_SETPIPE_SZ

#define F_SETPIPE_SZ   (1024 + 7)

Function Documentation

◆ dpdk_cli_init()

clib_error_t* dpdk_cli_init ( vlib_main_t vm)

Definition at line 394 of file cli.c.

◆ dpdk_cli_reference()

void dpdk_cli_reference ( void  )

Definition at line 389 of file cli.c.

+ Here is the caller graph for this function:

◆ set_dpdk_if_desc()

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

Definition at line 263 of file cli.c.

+ Here is the call graph for this function:

◆ show_dpdk_buffer()

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

Definition at line 44 of file cli.c.

+ Here is the call graph for this function:

◆ show_dpdk_physmem()

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

Definition at line 90 of file cli.c.

+ Here is the call graph for this function:

◆ show_dpdk_version_command_fn()

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

Definition at line 357 of file cli.c.

◆ test_dpdk_buffer()

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

Definition at line 175 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ cmd_set_dpdk_if_desc

vlib_cli_command_t cmd_set_dpdk_if_desc
static
Initial value:
= {
.path = "set dpdk interface descriptors",
.short_help = "set dpdk interface descriptors <interface> [rx <nn>] [tx <nn>]",
.function = set_dpdk_if_desc,
}
static clib_error_t * set_dpdk_if_desc(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:263

(constructor) VLIB_CLI_COMMAND (cmd_set_dpdk_if_desc)

Definition at line 349 of file cli.c.

◆ cmd_show_dpdk_buffer

vlib_cli_command_t cmd_show_dpdk_buffer
static
Initial value:
= {
.path = "show dpdk buffer",
.short_help = "show dpdk buffer",
.function = show_dpdk_buffer,
.is_mp_safe = 1,
}
static clib_error_t * show_dpdk_buffer(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:44

(constructor) VLIB_CLI_COMMAND (cmd_show_dpdk_buffer)

Definition at line 81 of file cli.c.

◆ cmd_show_dpdk_physmem

vlib_cli_command_t cmd_show_dpdk_physmem
static
Initial value:
= {
.path = "show dpdk physmem",
.short_help = "show dpdk physmem",
.function = show_dpdk_physmem,
.is_mp_safe = 1,
}
static clib_error_t * show_dpdk_physmem(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:90

(constructor) VLIB_CLI_COMMAND (cmd_show_dpdk_physmem)

Definition at line 166 of file cli.c.

◆ cmd_test_dpdk_buffer

vlib_cli_command_t cmd_test_dpdk_buffer
static
Initial value:
= {
.path = "test dpdk buffer",
.short_help = "test dpdk buffer [allocate <nn>] [free <nn>]",
.function = test_dpdk_buffer,
.is_mp_safe = 1,
}
static clib_error_t * test_dpdk_buffer(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:175

(constructor) VLIB_CLI_COMMAND (cmd_test_dpdk_buffer)

Definition at line 254 of file cli.c.

◆ show_vpe_version_command

vlib_cli_command_t show_vpe_version_command
static
Initial value:
= {
.path = "show dpdk version",
.short_help = "show dpdk version",
}
static clib_error_t * show_dpdk_version_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:357

(constructor) VLIB_CLI_COMMAND (show_vpe_version_command)

Definition at line 380 of file cli.c.