FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | dpdk_gcm_cnt_blk |
struct | dpdk_op_priv_t |
struct | crypto_worker_main_t |
struct | crypto_alg_t |
struct | crypto_dev_t |
struct | crypto_drv_t |
struct | crypto_resource_t |
struct | crypto_session_disposal_t |
struct | crypto_session_by_drv_t |
struct | crypto_data_t |
struct | dpdk_crypto_main_t |
Macros | |
#define | always_inline static inline |
#define | DPDK_CRYPTO_N_QUEUE_DESC 2048 |
#define | DPDK_CRYPTO_NB_SESS_OBJS 20000 |
#define | foreach_dpdk_crypto_input_next |
#define | MAX_QP_PER_LCORE 16 |
Enumerations | |
enum | dpdk_crypto_input_next_t { DPDK_CRYPTO_INPUT_N_NEXT } |
Variables | |
dpdk_crypto_main_t | dpdk_crypto_main |
static const u8 | pad_data [] |
#define foreach_dpdk_crypto_input_next |
static_always_inline void add_session_by_drv_and_sa_idx | ( | struct rte_cryptodev_sym_session * | session, |
crypto_data_t * | data, | ||
u32 | drv_id, | ||
u32 | sa_idx | ||
) |
clib_error_t* create_sym_session | ( | struct rte_cryptodev_sym_session ** | session, |
u32 | sa_idx, | ||
crypto_resource_t * | res, | ||
crypto_worker_main_t * | cwm, | ||
u8 | is_outbound | ||
) |
static_always_inline i32 crypto_alloc_ops | ( | u8 | numa, |
struct rte_crypto_op ** | ops, | ||
u32 | n | ||
) |
void crypto_auto_placement | ( | void | ) |
static_always_inline void crypto_enqueue_ops | ( | vlib_main_t * | vm, |
crypto_worker_main_t * | cwm, | ||
u32 | node_index, | ||
u32 | error, | ||
u8 | numa, | ||
u8 | encrypt | ||
) |
static_always_inline void crypto_free_ops | ( | u8 | numa, |
struct rte_crypto_op ** | ops, | ||
u32 | n | ||
) |
static_always_inline clib_error_t* crypto_get_session | ( | struct rte_cryptodev_sym_session ** | session, |
u32 | sa_idx, | ||
crypto_resource_t * | res, | ||
crypto_worker_main_t * | cwm, | ||
u8 | is_outbound | ||
) |
static_always_inline dpdk_op_priv_t* crypto_op_get_priv | ( | struct rte_crypto_op * | op | ) |
static_always_inline u32 crypto_op_get_priv_offset | ( | void | ) |
static_always_inline u32 crypto_op_len | ( | void | ) |
static_always_inline void crypto_set_icb | ( | dpdk_gcm_cnt_blk * | icb, |
u32 | salt, | ||
u32 | seq, | ||
u32 | seq_hi | ||
) |
static_always_inline u16 get_resource | ( | crypto_worker_main_t * | cwm, |
ipsec_sa_t * | sa | ||
) |
static_always_inline struct rte_cryptodev_sym_session* get_session_by_drv_and_sa_idx | ( | crypto_data_t * | data, |
u32 | drv_id, | ||
u32 | sa_idx | ||
) |
dpdk_crypto_main_t dpdk_crypto_main |