Go to the source code of this file.
|
int | crypto_sw_scheduler_set_worker_crypto (u32 worker_idx, u8 enabled) |
|
static void | crypto_sw_scheduler_key_handler (vlib_main_t *vm, vnet_crypto_key_op_t kop, vnet_crypto_key_index_t idx) |
|
static int | crypto_sw_scheduler_frame_enqueue (vlib_main_t *vm, vnet_crypto_async_frame_t *frame) |
|
static_always_inline vnet_crypto_async_frame_t * | crypto_sw_scheduler_get_pending_frame (crypto_sw_scheduler_queue_t *q) |
|
static_always_inline vnet_crypto_async_frame_t * | crypto_sw_scheduler_get_completed_frame (crypto_sw_scheduler_queue_t *q) |
|
static_always_inline void | cryptodev_sw_scheduler_sgl (vlib_main_t *vm, crypto_sw_scheduler_per_thread_data_t *ptd, vlib_buffer_t *b, vnet_crypto_op_t *op, i32 offset, i32 len) |
|
static_always_inline void | crypto_sw_scheduler_convert_aead (vlib_main_t *vm, crypto_sw_scheduler_per_thread_data_t *ptd, vnet_crypto_async_frame_elt_t *fe, u32 index, u32 bi, vnet_crypto_op_id_t op_id, u16 aad_len, u8 tag_len) |
|
static_always_inline void | crypto_sw_scheduler_convert_link_crypto (vlib_main_t *vm, crypto_sw_scheduler_per_thread_data_t *ptd, vnet_crypto_key_t *key, vnet_crypto_async_frame_elt_t *fe, u32 index, u32 bi, vnet_crypto_op_id_t crypto_op_id, vnet_crypto_op_id_t integ_op_id, u32 digest_len, u8 is_enc) |
|
static_always_inline void | process_ops (vlib_main_t *vm, vnet_crypto_async_frame_t *f, vnet_crypto_op_t *ops, u8 *state) |
|
static_always_inline void | process_chained_ops (vlib_main_t *vm, vnet_crypto_async_frame_t *f, vnet_crypto_op_t *ops, vnet_crypto_op_chunk_t *chunks, u8 *state) |
|
static_always_inline vnet_crypto_async_frame_t * | crypto_sw_scheduler_dequeue_aead (vlib_main_t *vm, vnet_crypto_async_op_id_t async_op_id, vnet_crypto_op_id_t sync_op_id, u8 tag_len, u8 aad_len, u32 *nb_elts_processed, u32 *enqueue_thread_idx) |
|
static_always_inline vnet_crypto_async_frame_t * | crypto_sw_scheduler_dequeue_link (vlib_main_t *vm, vnet_crypto_async_op_id_t async_op_id, vnet_crypto_op_id_t sync_crypto_op_id, vnet_crypto_op_id_t sync_integ_op_id, u16 digest_len, u8 is_enc, u32 *nb_elts_processed, u32 *enqueue_thread_idx) |
|
static clib_error_t * | sw_scheduler_set_worker_crypto (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | sw_scheduler_show_workers (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | sw_scheduler_cli_init (vlib_main_t *vm) |
|
clib_error_t * | crypto_sw_scheduler_init (vlib_main_t *vm) |
|
| VLIB_PLUGIN_REGISTER () |
|
◆ crypto_sw_scheduler_convert_aead()
◆ crypto_sw_scheduler_convert_link_crypto()
◆ crypto_sw_scheduler_dequeue_aead()
◆ crypto_sw_scheduler_dequeue_link()
◆ crypto_sw_scheduler_frame_enqueue()
◆ crypto_sw_scheduler_get_completed_frame()
◆ crypto_sw_scheduler_get_pending_frame()
◆ crypto_sw_scheduler_init()
◆ crypto_sw_scheduler_key_handler()
◆ crypto_sw_scheduler_set_worker_crypto()
int crypto_sw_scheduler_set_worker_crypto |
( |
u32 |
worker_idx, |
|
|
u8 |
enabled |
|
) |
| |
◆ cryptodev_sw_scheduler_sgl()
◆ process_chained_ops()
◆ process_ops()
◆ sw_scheduler_cli_init()
◆ sw_scheduler_set_worker_crypto()
◆ sw_scheduler_show_workers()
◆ VLIB_PLUGIN_REGISTER()
◆ cmd_set_sw_scheduler_worker_crypto
Initial value:= {
.path = "set sw_scheduler",
.short_help = "set sw_scheduler worker <idx> crypto <on|off>",
.is_mp_safe = 1,
}
(constructor) VLIB_CLI_COMMAND (cmd_set_sw_scheduler_worker_crypto)
Definition at line 538 of file main.c.
◆ cmd_show_sw_scheduler_workers
Initial value:= {
.path = "show sw_scheduler workers",
.short_help = "show sw_scheduler workers",
.is_mp_safe = 1,
}
(constructor) VLIB_CLI_COMMAND (cmd_show_sw_scheduler_workers)
Definition at line 574 of file main.c.
◆ crypto_sw_scheduler_main
static clib_error_t * sw_scheduler_set_worker_crypto(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
static clib_error_t * sw_scheduler_show_workers(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)