X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flibrte_ipsec%2Frte_ipsec_group.h;h=47b33ca5ec7016a9ab2bb72e17eacbbe15356483;hb=9160d6386472b70503e504df765440ecdb604d7d;hp=696ed277a0f2881359de927e8395d08291865767;hpb=f901d9c826884c2da505924550652416916a7c10;p=dpdk.git diff --git a/lib/librte_ipsec/rte_ipsec_group.h b/lib/librte_ipsec/rte_ipsec_group.h index 696ed277a0..47b33ca5ec 100644 --- a/lib/librte_ipsec/rte_ipsec_group.h +++ b/lib/librte_ipsec/rte_ipsec_group.h @@ -10,7 +10,7 @@ * @b EXPERIMENTAL: this API may change without prior notice * * RTE IPsec support. - * It is not recommended to include this file direclty, + * It is not recommended to include this file directly, * include instead. * Contains helper functions to process completed crypto-ops * and group related packets by sessions they belong to. @@ -42,7 +42,8 @@ struct rte_ipsec_group { * @return * The pointer to the related *rte_ipsec_session* structure. */ -static inline __rte_experimental struct rte_ipsec_session * +__rte_experimental +static inline struct rte_ipsec_session * rte_ipsec_ses_from_crypto(const struct rte_crypto_op *cop) { const struct rte_security_session *ss; @@ -78,7 +79,8 @@ rte_ipsec_ses_from_crypto(const struct rte_crypto_op *cop) * @return * Number of filled elements in *grp* array. */ -static inline uint16_t __rte_experimental +__rte_experimental +static inline 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) {