FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
Go to the source code of this file.
Variables | |
static vlib_cli_command_t | cmd_set_sw_scheduler_worker_crypto |
(constructor) VLIB_CLI_COMMAND (cmd_set_sw_scheduler_worker_crypto) More... | |
static vlib_cli_command_t | cmd_show_sw_scheduler_workers |
(constructor) VLIB_CLI_COMMAND (cmd_show_sw_scheduler_workers) More... | |
foreach_crypto_link_async_alg crypto_sw_scheduler_main_t | crypto_sw_scheduler_main |
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 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 |
static_always_inline vnet_crypto_async_frame_t* crypto_sw_scheduler_get_completed_frame | ( | crypto_sw_scheduler_queue_t * | q | ) |
static_always_inline vnet_crypto_async_frame_t* crypto_sw_scheduler_get_pending_frame | ( | crypto_sw_scheduler_queue_t * | q | ) |
clib_error_t* crypto_sw_scheduler_init | ( | vlib_main_t * | vm | ) |
|
static |
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 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 void process_ops | ( | vlib_main_t * | vm, |
vnet_crypto_async_frame_t * | f, | ||
vnet_crypto_op_t * | ops, | ||
u8 * | state | ||
) |
clib_error_t* sw_scheduler_cli_init | ( | vlib_main_t * | vm | ) |
|
static |
|
static |
VLIB_PLUGIN_REGISTER | ( | ) |
|
static |
(constructor) VLIB_CLI_COMMAND (cmd_set_sw_scheduler_worker_crypto)
|
static |
(constructor) VLIB_CLI_COMMAND (cmd_show_sw_scheduler_workers)
foreach_crypto_link_async_alg crypto_sw_scheduler_main_t crypto_sw_scheduler_main |