From ab2c5603a107f39e680ecb2b717f2722d613ecbe Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Wed, 21 Feb 2018 15:45:07 +0100 Subject: vppinfra: change default cache line size 64 bytes This change only affects Aarch64 where previously we were using 128 bytes. Change-Id: I52a3f2f3ff8c06abe8ae3933bc0d7a2a7749dd8a Signed-off-by: Damjan Marion --- src/vppinfra/cache.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/vppinfra/cache.h b/src/vppinfra/cache.h index 7464b77a41b..e5c678eb517 100644 --- a/src/vppinfra/cache.h +++ b/src/vppinfra/cache.h @@ -45,17 +45,9 @@ */ #ifndef CLIB_LOG2_CACHE_LINE_BYTES -#if defined(__x86_64__) || defined(__ARM_ARCH_7A__) || defined(__i386__) -#define CLIB_LOG2_CACHE_LINE_BYTES 6 -#endif - -#ifdef __aarch64__ -#define CLIB_LOG2_CACHE_LINE_BYTES 7 -#endif - -/* Default cache line size of 32 bytes. */ +/* Default cache line size of 64 bytes. */ #ifndef CLIB_LOG2_CACHE_LINE_BYTES -#define CLIB_LOG2_CACHE_LINE_BYTES 5 +#define CLIB_LOG2_CACHE_LINE_BYTES 6 #endif #endif /* CLIB_LOG2_CACHE_LINE_BYTES defined */ -- cgit 1.2.3-korg