From fb8ed8b95529db095b7305938db17a545ca9eeef Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Thu, 5 Mar 2020 16:41:27 +0000 Subject: crypto: align per thread data to cache line Type: improvement Change-Id: I6bad46403c07b211dfda7229aed1b5e19342865f Signed-off-by: Filip Tehlar --- src/plugins/crypto_native/crypto_native.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/crypto_native/crypto_native.h') diff --git a/src/plugins/crypto_native/crypto_native.h b/src/plugins/crypto_native/crypto_native.h index 279684b8b8e..b83dd773e44 100644 --- a/src/plugins/crypto_native/crypto_native.h +++ b/src/plugins/crypto_native/crypto_native.h @@ -22,6 +22,7 @@ typedef void *(crypto_native_key_fn_t) (vnet_crypto_key_t * key); typedef struct { + CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); u8x16 cbc_iv[4]; } crypto_native_per_thread_data_t; -- cgit 1.2.3-korg