5 #ifndef _RTE_IPSEC_GROUP_H_
6 #define _RTE_IPSEC_GROUP_H_
49 const struct rte_security_session *ss;
54 return (
void *)(uintptr_t)ss->opaque_data;
83 static inline uint16_t
96 for (i = 0; i != num; i++) {
121 grp[n].
cnt = mb + j - grp[n].
m;
136 grp[n].
cnt = mb + j - grp[n].
m;
141 if (k != 0 && k != num) {
142 for (i = 0; i != k; i++)
struct rte_security_session * sec_session
static __rte_experimental struct rte_ipsec_session * rte_ipsec_ses_from_crypto(const struct rte_crypto_op *cop)
union rte_ipsec_group::@209 id
struct rte_cryptodev_sym_session * session
static __rte_experimental uint16_t rte_ipsec_pkt_crypto_group(const struct rte_crypto_op *cop[], struct rte_mbuf *mb[], struct rte_ipsec_group grp[], uint16_t num)
#define PKT_RX_SEC_OFFLOAD
#define PKT_RX_SEC_OFFLOAD_FAILED
struct rte_crypto_sym_op sym[0]