Go to the source code of this file.
|
static int | 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_init (vlib_main_t *vm) |
|
#define DPDK_CRYPTO_CACHE_SIZE 512 |
#define DPDK_CRYPTO_N_QUEUE_DESC 512 |
#define DPDK_CRYPTO_NB_COPS (1024 * 4) |
#define DPDK_CRYPTO_NB_OBJS 2048 |
#define DPDK_CRYPTO_PRIV_SIZE 128 |
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 |