]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_pipeline/pipeline/hash_func.h
examples/ip_pipeline: fix build for x86_64 without SSE4.2
[dpdk.git] / examples / ip_pipeline / pipeline / hash_func.h
index 78463006bdd03ce1fed3c15ba38453338a907cc3..1953ad4706c5a6045c3fe63c17d189a11ba91cd4 100644 (file)
@@ -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(__x86_64__) && defined(RTE_CPUFLAG_SSE4_2)
 
 #include <x86intrin.h>