Go to the source code of this file.
|
static int | add_del_sa_sess (u32 sa_index, u8 is_add) |
|
static void | update_qp_data (crypto_worker_main_t *cwm, u8 cdev_id, u16 qp_id, u8 is_outbound, u16 *idx) |
|
static int | add_mapping (crypto_worker_main_t *cwm, u8 cdev_id, u16 qp, u8 is_outbound, const struct rte_cryptodev_capabilities *cipher_cap, const struct rte_cryptodev_capabilities *auth_cap) |
|
static int | add_cdev_mapping (crypto_worker_main_t *cwm, struct rte_cryptodev_info *dev_info, u8 cdev_id, u16 qp, u8 is_outbound) |
|
static int | check_cryptodev_queues () |
|
static clib_error_t * | dpdk_ipsec_check_support (ipsec_sa_t *sa) |
|
static uword | dpdk_ipsec_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
#define DPDK_CRYPTO_CACHE_SIZE 512 |
#define DPDK_CRYPTO_N_QUEUE_DESC 1024 |
#define DPDK_CRYPTO_NB_COPS (1024 * 4) |
#define DPDK_CRYPTO_NB_SESS_OBJS 20000 |
#define DPDK_CRYPTO_PRIV_SIZE 128 |
static int add_del_sa_sess |
( |
u32 |
sa_index, |
|
|
u8 |
is_add |
|
) |
| |
|
static |
static int add_mapping |
( |
crypto_worker_main_t * |
cwm, |
|
|
u8 |
cdev_id, |
|
|
u16 |
qp, |
|
|
u8 |
is_outbound, |
|
|
const struct rte_cryptodev_capabilities * |
cipher_cap, |
|
|
const struct rte_cryptodev_capabilities * |
auth_cap |
|
) |
| |
|
static |
static int check_cryptodev_queues |
( |
| ) |
|
|
static |
Initial value:= {
.name = "dpdk-ipsec-process",
.process_log2_n_stack_bytes = 17,
}
static uword dpdk_ipsec_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
(constructor) VLIB_REGISTER_NODE (dpdk_ipsec_process_node)
Definition at line 412 of file ipsec.c.