FD.io VPP  v21.10.1-2-g0a485f517
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_trdma_create_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_trdma_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_ttest_rdma_dump_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_trdma_cli_init (vlib_main_t *vm)
 

Variables

static vlib_cli_command_t rdma_create_command
 (constructor) VLIB_CLI_COMMAND (rdma_create_command) More...
 
static vlib_cli_command_t rdma_delete_command
 (constructor) VLIB_CLI_COMMAND (rdma_delete_command) More...
 
static vlib_cli_command_t test_rdma_mlx5dv_dump_command
 (constructor) VLIB_CLI_COMMAND (test_rdma_mlx5dv_dump_command) More...
 

Function Documentation

◆ rdma_cli_init()

clib_error_t* rdma_cli_init ( vlib_main_t vm)

Definition at line 174 of file cli.c.

◆ rdma_create_command_fn()

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

◆ rdma_delete_command_fn()

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

Definition at line 60 of file cli.c.

+ Here is the call graph for this function:

◆ test_rdma_dump_command_fn()

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

Definition at line 112 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ rdma_create_command

vlib_cli_command_t rdma_create_command
static
Initial value:
= {
.path = "create interface rdma",
.short_help = "create interface rdma <host-if ifname> [name <name>]"
" [rx-queue-size <size>] [tx-queue-size <size>]"
" [num-rx-queues <size>] [mode <auto|ibv|dv]"
" [no-multi-seg] [no-striding]"
" [max-pktlen <size>]",
}

(constructor) VLIB_CLI_COMMAND (rdma_create_command)

Definition at line 48 of file cli.c.

◆ rdma_delete_command

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

(constructor) VLIB_CLI_COMMAND (rdma_delete_command)

Definition at line 103 of file cli.c.

◆ test_rdma_mlx5dv_dump_command

vlib_cli_command_t test_rdma_mlx5dv_dump_command
static
Initial value:
= {
.path = "test rdma dump",
.short_help = "test rdma dump {<interface> | sw_if_index <sw_idx>}",
}

(constructor) VLIB_CLI_COMMAND (test_rdma_mlx5dv_dump_command)

Definition at line 166 of file cli.c.

rdma_create_command_fn
static clib_error_t * rdma_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:30
test_rdma_dump_command_fn
static clib_error_t * test_rdma_dump_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:112
rdma_delete_command_fn
static clib_error_t * rdma_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:60