FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
cli.c File Reference
+ Include dependency graph for cli.c:

Go to the source code of this file.

Functions

static u8format_crypto (u8 *s, va_list *args)
 
static clib_error_tshow_dpdk_crypto_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static u8format_crypto_worker (u8 *s, va_list *args)
 
static clib_error_tcommon_crypto_placement_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd, u8 verbose)
 
static clib_error_tshow_dpdk_crypto_placement_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tshow_dpdk_crypto_placement_v_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tset_dpdk_crypto_placement_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static void dpdk_crypto_clear_resource (u16 res_idx)
 
static clib_error_tclear_dpdk_crypto_placement_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
u8format_dpdk_mempool (u8 *s, va_list *args)
 
static clib_error_tshow_dpdk_crypto_pools_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t show_dpdk_crypto
 (constructor) VLIB_CLI_COMMAND (show_dpdk_crypto) More...
 
static vlib_cli_command_t show_dpdk_crypto_placement
 (constructor) VLIB_CLI_COMMAND (show_dpdk_crypto_placement) More...
 
static vlib_cli_command_t show_dpdk_crypto_placement_v
 (constructor) VLIB_CLI_COMMAND (show_dpdk_crypto_placement_v) More...
 
static vlib_cli_command_t set_dpdk_crypto_placement
 (constructor) VLIB_CLI_COMMAND (set_dpdk_crypto_placement) More...
 
static vlib_cli_command_t clear_dpdk_crypto_placement
 (constructor) VLIB_CLI_COMMAND (clear_dpdk_crypto_placement) More...
 
static vlib_cli_command_t show_dpdk_crypto_pools
 (constructor) VLIB_CLI_COMMAND (show_dpdk_crypto_pools) More...
 

Function Documentation

◆ clear_dpdk_crypto_placement_fn()

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

Definition at line 426 of file cli.c.

+ Here is the call graph for this function:

◆ common_crypto_placement_fn()

static clib_error_t* common_crypto_placement_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd,
u8  verbose 
)
static

Definition at line 178 of file cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dpdk_crypto_clear_resource()

static void dpdk_crypto_clear_resource ( u16  res_idx)
static

Definition at line 400 of file cli.c.

+ Here is the caller graph for this function:

◆ format_crypto()

static u8* format_crypto ( u8 s,
va_list *  args 
)
static

Definition at line 21 of file cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_crypto_worker()

static u8* format_crypto_worker ( u8 s,
va_list *  args 
)
static

Definition at line 123 of file cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_dpdk_mempool()

u8* format_dpdk_mempool ( u8 s,
va_list *  args 
)

Definition at line 501 of file cli.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_dpdk_crypto_placement_fn()

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

Definition at line 280 of file cli.c.

+ Here is the call graph for this function:

◆ show_dpdk_crypto_fn()

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

Definition at line 76 of file cli.c.

+ Here is the call graph for this function:

◆ show_dpdk_crypto_placement_fn()

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

Definition at line 208 of file cli.c.

+ Here is the call graph for this function:

◆ show_dpdk_crypto_placement_v_fn()

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

Definition at line 215 of file cli.c.

+ Here is the call graph for this function:

◆ show_dpdk_crypto_pools_fn()

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

Definition at line 524 of file cli.c.

+ Here is the call graph for this function:

Variable Documentation

◆ clear_dpdk_crypto_placement

vlib_cli_command_t clear_dpdk_crypto_placement
static
Initial value:
= {
.path = "clear dpdk crypto placement",
.short_help = "clear dpdk crypto placement <device> [<thread>]",
}
static clib_error_t * clear_dpdk_crypto_placement_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:426

(constructor) VLIB_CLI_COMMAND (clear_dpdk_crypto_placement)

Definition at line 493 of file cli.c.

◆ set_dpdk_crypto_placement

vlib_cli_command_t set_dpdk_crypto_placement
static
Initial value:
= {
.path = "set dpdk crypto placement",
.short_help = "set dpdk crypto placement (<device> <thread> | auto)",
}
static clib_error_t * set_dpdk_crypto_placement_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:280

(constructor) VLIB_CLI_COMMAND (set_dpdk_crypto_placement)

Definition at line 388 of file cli.c.

◆ show_dpdk_crypto

vlib_cli_command_t show_dpdk_crypto
static
Initial value:
= {
.path = "show dpdk crypto devices",
.short_help = "show dpdk crypto devices",
.function = show_dpdk_crypto_fn,
}
static clib_error_t * show_dpdk_crypto_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:76

(constructor) VLIB_CLI_COMMAND (show_dpdk_crypto)

Definition at line 115 of file cli.c.

◆ show_dpdk_crypto_placement

vlib_cli_command_t show_dpdk_crypto_placement
static
Initial value:
= {
.path = "show dpdk crypto placement",
.short_help = "show dpdk crypto placement",
}
static clib_error_t * show_dpdk_crypto_placement_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:208

(constructor) VLIB_CLI_COMMAND (show_dpdk_crypto_placement)

Definition at line 238 of file cli.c.

◆ show_dpdk_crypto_placement_v

vlib_cli_command_t show_dpdk_crypto_placement_v
static
Initial value:
= {
.path = "show dpdk crypto placement verbose",
.short_help = "show dpdk crypto placement verbose",
}
static clib_error_t * show_dpdk_crypto_placement_v_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:215

(constructor) VLIB_CLI_COMMAND (show_dpdk_crypto_placement_v)

Definition at line 272 of file cli.c.

◆ show_dpdk_crypto_pools

vlib_cli_command_t show_dpdk_crypto_pools
static
Initial value:
= {
.path = "show dpdk crypto pools",
.short_help = "show dpdk crypto pools",
}
static clib_error_t * show_dpdk_crypto_pools_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:524

(constructor) VLIB_CLI_COMMAND (show_dpdk_crypto_pools)

Definition at line 575 of file cli.c.