5 #ifndef _RTE_IPSEC_GROUP_H_
6 #define _RTE_IPSEC_GROUP_H_
47 const struct rte_security_session *ss;
52 return (
void *)(uintptr_t)ss->opaque_data;
80 static inline uint16_t
93 for (i = 0; i != num; i++) {
118 grp[n].
cnt = mb + j - grp[n].
m;
133 grp[n].
cnt = mb + j - grp[n].
m;
138 if (k != 0 && k != num) {
139 for (i = 0; i != k; i++)
struct rte_security_session * sec_session
static 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)
static struct rte_ipsec_session * rte_ipsec_ses_from_crypto(const struct rte_crypto_op *cop)
struct rte_cryptodev_sym_session * session
#define PKT_RX_SEC_OFFLOAD
union rte_ipsec_group::@230 id
#define PKT_RX_SEC_OFFLOAD_FAILED
struct rte_crypto_sym_op sym[0]