Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
dpdk: fix udp-encap for esp in transport mode
[vpp.git]
/
src
/
vppinfra
/
cpu.h
diff --git
a/src/vppinfra/cpu.h
b/src/vppinfra/cpu.h
index
31a6e5b
..
48c68a1
100644
(file)
--- a/
src/vppinfra/cpu.h
+++ b/
src/vppinfra/cpu.h
@@
-116,6
+116,7
@@
_CLIB_MARCH_FN_REGISTRATION(fn)
#endif
#define foreach_x86_64_flags \
_ (sse3, 1, ecx, 0) \
#endif
#define foreach_x86_64_flags \
_ (sse3, 1, ecx, 0) \
+_ (pclmulqdq, 1, ecx, 1) \
_ (ssse3, 1, ecx, 9) \
_ (sse41, 1, ecx, 19) \
_ (sse42, 1, ecx, 20) \
_ (ssse3, 1, ecx, 9) \
_ (sse41, 1, ecx, 19) \
_ (sse42, 1, ecx, 20) \
@@
-234,7
+235,7
@@
static inline int clib_cpu_supports_ ## flag() { return 0; }
static inline int
clib_cpu_supports_aes ()
{
static inline int
clib_cpu_supports_aes ()
{
-#if defined
(__aarch
64__)
+#if defined
(__x86_
64__)
return clib_cpu_supports_x86_aes ();
#elif defined (__aarch64__)
return clib_cpu_supports_aarch64_aes ();
return clib_cpu_supports_x86_aes ();
#elif defined (__aarch64__)
return clib_cpu_supports_aarch64_aes ();