aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorChristophe Fontaine <christophe.fontaine@qosmos.com>2016-12-19 14:41:52 +0100
committerChristophe Fontaine <christophe.fontaine@qosmos.com>2016-12-21 15:16:44 +0100
commit33e81950cf937ab081c7c591f06e8871b0f00e93 (patch)
tree6589eb085e89c2631b9dc7dcc3126a66c368f604 /plugins
parent7e9e6e1f1c1b9f41547899aeff5a05a5a7421103 (diff)
aarch64 compatibility
- lb plugin: compatibility for non x86 platforms. - Add vector_neon.h to support simd instructions, especially 'u16x8_zero_byte_mask' used in "vnet/vnet/ip/ip4_source_and_port_range_check.c" Change-Id: I395546b0e2d5748e73daffa51269a200ef8d1235 Signed-off-by: Christophe Fontaine <christophe.fontaine@qosmos.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/lb-plugin/lb/lbhash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/lb-plugin/lb/lbhash.h b/plugins/lb-plugin/lb/lbhash.h
index d47b49828fa..ca3cc143dc2 100644
--- a/plugins/lb-plugin/lb/lbhash.h
+++ b/plugins/lb-plugin/lb/lbhash.h
@@ -31,7 +31,9 @@
#include <vnet/vnet.h>
+#if defined (__SSE4_2__)
#include <immintrin.h>
+#endif
/*
* @brief Number of entries per bucket.