diff options
author | 2016-12-07 15:24:38 +0200 | |
---|---|---|
committer | 2016-12-21 13:01:05 +0200 | |
commit | eae78d4356b8834b78a91c52d869a7949f8f3e90 (patch) | |
tree | 184156f8e653adfa33eb0e70838f45d2a92355d0 /src/pal | |
parent | 539de1c6af63071c1da9ed5db668c500f8993a03 (diff) |
improve Stateful scheduler
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'src/pal')
-rw-r--r-- | src/pal/linux/rte_prefetch.h | 30 |
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 |