git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace hot attributes
[dpdk.git]
/
lib
/
librte_eal
/
include
/
rte_common.h
diff --git
a/lib/librte_eal/include/rte_common.h
b/lib/librte_eal/include/rte_common.h
index
9d92f1f
..
0c002b4
100644
(file)
--- a/
lib/librte_eal/include/rte_common.h
+++ b/
lib/librte_eal/include/rte_common.h
@@
-192,6
+192,11
@@
static void __attribute__((destructor(RTE_PRIO(prio)), used)) func(void)
*/
#define __rte_noinline __attribute__((noinline))
+/**
+ * Hint function in the hot path
+ */
+#define __rte_hot __attribute__((hot))
+
/*********** Macros for pointer arithmetic ********/
/**