]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_acl/acl_run_avx2.h
eal: introduce macro for always inline
[dpdk.git] / lib / librte_acl / acl_run_avx2.h
index b01a46a5ca8e01914b8c6498fd6c302a0ae398a6..804e45afae4014e17336b3febe4be679de44614a 100644 (file)
@@ -86,7 +86,7 @@ static const rte_ymm_t ymm_range_base = {
  * tr_hi contains high 32 bits for 8 transition.
  * next_input contains up to 4 input bytes for 8 flows.
  */
  * tr_hi contains high 32 bits for 8 transition.
  * next_input contains up to 4 input bytes for 8 flows.
  */
-static inline __attribute__((always_inline)) ymm_t
+static __rte_always_inline ymm_t
 transition8(ymm_t next_input, const uint64_t *trans, ymm_t *tr_lo, ymm_t *tr_hi)
 {
        const int32_t *tr;
 transition8(ymm_t next_input, const uint64_t *trans, ymm_t *tr_lo, ymm_t *tr_hi)
 {
        const int32_t *tr;