net/mlx5: fix getting metadata register for E-Switch domain
[dpdk.git] / lib / librte_ipsec / rte_ipsec_group.h
index 696ed27..47b33ca 100644 (file)
@@ -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 <rte_ipsec.h> 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)
 {