17 #include <rte_compat.h> 64 struct rte_ipsec_sa *
sa;
70 struct rte_cryptodev_sym_session *ses;
74 struct rte_security_session *ses;
118 static inline uint16_t
122 return ss->
pkt_func.prepare.async(ss, mb, cop, num);
125 static inline uint16_t
127 struct rte_mbuf *mb[], uint16_t num)
129 return ss->
pkt_func.prepare.sync(ss, mb, num);
155 static inline uint16_t
159 return ss->
pkt_func.process(ss, mb, num);
rte_security_session_action_type
int rte_ipsec_session_prepare(struct rte_ipsec_session *ss)
__rte_experimental int rte_ipsec_telemetry_sa_add(const struct rte_ipsec_sa *sa)
static uint16_t rte_ipsec_pkt_crypto_prepare(const struct rte_ipsec_session *ss, struct rte_mbuf *mb[], struct rte_crypto_op *cop[], uint16_t num)
static uint16_t rte_ipsec_pkt_process(const struct rte_ipsec_session *ss, struct rte_mbuf *mb[], uint16_t num)
#define __rte_cache_aligned
__rte_experimental void rte_ipsec_telemetry_sa_del(const struct rte_ipsec_sa *sa)
struct rte_ipsec_sa_pkt_func pkt_func