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
examples/ip_pipeline: fix SSE4.2 optimization branch
[dpdk.git]
/
examples
/
ip_pipeline
/
pipeline
/
hash_func.h
diff --git
a/examples/ip_pipeline/pipeline/hash_func.h
b/examples/ip_pipeline/pipeline/hash_func.h
index
7846300
..
9db7173
100644
(file)
--- a/
examples/ip_pipeline/pipeline/hash_func.h
+++ b/
examples/ip_pipeline/pipeline/hash_func.h
@@
-152,7
+152,7
@@
hash_xor_key64(void *key, __rte_unused uint32_t key_size, uint64_t seed)
return (xor0 >> 32) ^ xor0;
}
-#if defined(
__x86_64__
)
+#if defined(
RTE_ARCH_X86_64) && defined(RTE_MACHINE_CPUFLAG_SSE4_2
)
#include <x86intrin.h>