Go to the source code of this file.
|
void | crypto_auto_placement (void) |
|
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 u32 | crypto_op_len (void) |
|
static_always_inline u32 | crypto_op_get_priv_offset (void) |
|
static_always_inline dpdk_op_priv_t * | crypto_op_get_priv (struct rte_crypto_op *op) |
|
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) |
|
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) |
|
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 u16 | get_resource (crypto_worker_main_t *cwm, ipsec_sa_t *sa) |
|
static_always_inline i32 | crypto_alloc_ops (u8 numa, struct rte_crypto_op **ops, u32 n) |
|
static_always_inline void | crypto_free_ops (u8 numa, struct rte_crypto_op **ops, u32 n) |
|
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_set_icb (dpdk_gcm_cnt_blk *icb, u32 salt, u32 seq, u32 seq_hi) |
|
static_always_inline void | crypto_op_setup (u8 is_aead, struct rte_mbuf *mb0, struct rte_crypto_op *op, void *session, u32 cipher_off, u32 cipher_len, u32 auth_off, u32 auth_len, u8 *aad, u8 *digest, u64 digest_paddr) |
|
◆ always_inline
#define always_inline static inline |
◆ DPDK_CRYPTO_N_QUEUE_DESC
#define DPDK_CRYPTO_N_QUEUE_DESC 2048 |
◆ DPDK_CRYPTO_NB_SESS_OBJS
#define DPDK_CRYPTO_NB_SESS_OBJS 20000 |
◆ foreach_dpdk_crypto_input_next
#define foreach_dpdk_crypto_input_next |
Value: _(IP4_LOOKUP, "ip4-lookup") \
_(IP6_LOOKUP, "ip6-lookup") \
_(INTERFACE_OUTPUT, "interface-output") \
_(DECRYPT4_POST, "dpdk-esp4-decrypt-post") \
_(DECRYPT6_POST, "dpdk-esp6-decrypt-post")
Definition at line 36 of file ipsec.h.
◆ MAX_QP_PER_LCORE
#define MAX_QP_PER_LCORE 16 |
◆ dpdk_crypto_input_next_t
Enumerator |
---|
DPDK_CRYPTO_INPUT_N_NEXT | |
Definition at line 44 of file ipsec.h.
◆ add_session_by_drv_and_sa_idx()
◆ create_sym_session()
◆ crypto_alloc_ops()
◆ crypto_auto_placement()
void crypto_auto_placement |
( |
void |
| ) |
|
◆ crypto_enqueue_ops()
◆ crypto_free_ops()
◆ crypto_get_session()
◆ crypto_op_get_priv()
◆ crypto_op_get_priv_offset()
◆ crypto_op_len()
◆ crypto_op_setup()
static_always_inline void crypto_op_setup |
( |
u8 |
is_aead, |
|
|
struct rte_mbuf * |
mb0, |
|
|
struct rte_crypto_op * |
op, |
|
|
void * |
session, |
|
|
u32 |
cipher_off, |
|
|
u32 |
cipher_len, |
|
|
u32 |
auth_off, |
|
|
u32 |
auth_len, |
|
|
u8 * |
aad, |
|
|
u8 * |
digest, |
|
|
u64 |
digest_paddr |
|
) |
| |
◆ crypto_set_icb()
◆ get_resource()
◆ get_session_by_drv_and_sa_idx()
◆ dpdk_crypto_main
◆ pad_data
Initial value:=
{ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0 }
Definition at line 175 of file ipsec.h.