summaryrefslogtreecommitdiffstats
path: root/src/pal/linux/rte_prefetch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pal/linux/rte_prefetch.h')
-rw-r--r--src/pal/linux/rte_prefetch.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/pal/linux/rte_prefetch.h b/src/pal/linux/rte_prefetch.h
new file mode 100644
index 00000000..cbc38964
--- /dev/null
+++ b/src/pal/linux/rte_prefetch.h
@@ -0,0 +1,30 @@
+#ifndef _RTE_PREFETCH_X86_64_H_
+#define _RTE_PREFETCH_X86_64_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* stubs */
+
+static inline void rte_prefetch0(const volatile void *p)
+{
+}
+
+static inline void rte_prefetch1(const volatile void *p)
+{
+}
+
+static inline void rte_prefetch2(const volatile void *p)
+{
+}
+
+static inline void rte_prefetch_non_temporal(const volatile void *p)
+{
+}
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif