]> git.droids-corp.org - dpdk.git/blobdiff - examples/l3fwd/l3fwd_em.h
eal: introduce macro for always inline
[dpdk.git] / examples / l3fwd / l3fwd_em.h
index 2284bbd5c6e02ab5799ac834bc23f6fa2ed88d14..d509a1fcdc4b679c073dd7a2eb7f9e6ea3a20b18 100644 (file)
@@ -34,7 +34,7 @@
 #ifndef __L3FWD_EM_H__
 #define __L3FWD_EM_H__
 
-static inline __attribute__((always_inline)) void
+static __rte_always_inline void
 l3fwd_em_simple_forward(struct rte_mbuf *m, uint8_t portid,
                struct lcore_conf *qconf)
 {