eal: introduce macro for no inline
[dpdk.git] / lib / librte_eal / common / include / rte_common.h
index a9a7494..27bfbd4 100644 (file)
@@ -107,6 +107,11 @@ typedef uint16_t unaligned_uint16_t;
  */
 #define __rte_always_inline inline __attribute__((always_inline))
 
+/**
+ * Force a function to be noinlined
+ */
+#define __rte_noinline  __attribute__((noinline))
+
 /*********** Macros for pointer arithmetic ********/
 
 /**