FD.io VPP  v19.04.4-rc0-5-ge88582fac
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_resource (u8 *s, va_list *args)
 
static u8format_crypto (u8 *s, va_list *args)
 
static clib_error_tclear_crypto_stats_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
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 clear_dpdk_crypto_stats
 (constructor) VLIB_CLI_COMMAND (clear_dpdk_crypto_stats) More...
 
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_crypto_stats_fn()

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

Definition at line 125 of file cli.c.

◆ 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 509 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 261 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 483 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 39 of file cli.c.

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

◆ format_crypto_resource()

static u8* format_crypto_resource ( 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 206 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 584 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 363 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 160 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 291 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 298 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 607 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:509

(constructor) VLIB_CLI_COMMAND (clear_dpdk_crypto_placement)

Definition at line 576 of file cli.c.

◆ clear_dpdk_crypto_stats

vlib_cli_command_t clear_dpdk_crypto_stats
static
Initial value:
= {
.path = "clear dpdk crypto devices statistics",
.short_help = "clear dpdk crypto devices statistics",
.function = clear_crypto_stats_fn,
}
static clib_error_t * clear_crypto_stats_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: cli.c:125

(constructor) VLIB_CLI_COMMAND (clear_dpdk_crypto_stats)

Definition at line 151 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:363

(constructor) VLIB_CLI_COMMAND (set_dpdk_crypto_placement)

Definition at line 471 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:160

(constructor) VLIB_CLI_COMMAND (show_dpdk_crypto)

Definition at line 198 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:291

(constructor) VLIB_CLI_COMMAND (show_dpdk_crypto_placement)

Definition at line 321 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:298

(constructor) VLIB_CLI_COMMAND (show_dpdk_crypto_placement_v)

Definition at line 355 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:607

(constructor) VLIB_CLI_COMMAND (show_dpdk_crypto_pools)

Definition at line 658 of file cli.c.