FD.io VPP  v20.01-48-g3e0dafb74
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 1751 of file cli.c.

◆ dpdk_cli_reference()

void dpdk_cli_reference ( void  )

Definition at line 1746 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 318 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 99 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 145 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 1714 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 230 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:318

(constructor) VLIB_CLI_COMMAND (cmd_set_dpdk_if_desc)

Definition at line 404 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:99

(constructor) VLIB_CLI_COMMAND (cmd_show_dpdk_buffer)

Definition at line 136 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:145

(constructor) VLIB_CLI_COMMAND (cmd_show_dpdk_physmem)

Definition at line 221 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:230

(constructor) VLIB_CLI_COMMAND (cmd_test_dpdk_buffer)

Definition at line 309 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:1714

(constructor) VLIB_CLI_COMMAND (show_vpe_version_command)

Definition at line 1737 of file cli.c.