FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
ipsec.c File Reference
+ Include dependency graph for ipsec.c:

Go to the source code of this file.

Macros

#define DPDK_CRYPTO_NB_OBJS   2048
 
#define DPDK_CRYPTO_CACHE_SIZE   512
 
#define DPDK_CRYPTO_PRIV_SIZE   128
 
#define DPDK_CRYPTO_N_QUEUE_DESC   512
 
#define DPDK_CRYPTO_NB_COPS   (1024 * 4)
 

Functions

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_tdpdk_ipsec_init (vlib_main_t *vm)
 

Macro Definition Documentation

#define DPDK_CRYPTO_CACHE_SIZE   512

Definition at line 24 of file ipsec.c.

#define DPDK_CRYPTO_N_QUEUE_DESC   512

Definition at line 26 of file ipsec.c.

#define DPDK_CRYPTO_NB_COPS   (1024 * 4)

Definition at line 27 of file ipsec.c.

#define DPDK_CRYPTO_NB_OBJS   2048

Definition at line 23 of file ipsec.c.

#define DPDK_CRYPTO_PRIV_SIZE   128

Definition at line 25 of file ipsec.c.

Function Documentation

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

Definition at line 105 of file ipsec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 68 of file ipsec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int check_cryptodev_queues ( )
static

Definition at line 143 of file ipsec.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* dpdk_ipsec_init ( vlib_main_t vm)
static

Definition at line 172 of file ipsec.c.

+ Here is the call graph for this function:

static int update_qp_data ( crypto_worker_main_t cwm,
u8  cdev_id,
u16  qp_id,
u8  is_outbound,
u16 idx 
)
static

Definition at line 36 of file ipsec.c.

+ Here is the caller graph for this function: