diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2020-03-05 16:41:27 +0000 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-03-06 13:35:09 +0000 |
commit | fb8ed8b95529db095b7305938db17a545ca9eeef (patch) | |
tree | 190ba1018c062769d71415b5e5624b0d4f8a629f /src/plugins/crypto_native/crypto_native.h | |
parent | 1322375357fb7596fc976b5613181a3587163099 (diff) |
crypto: align per thread data to cache line
Type: improvement
Change-Id: I6bad46403c07b211dfda7229aed1b5e19342865f
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins/crypto_native/crypto_native.h')
-rw-r--r-- | src/plugins/crypto_native/crypto_native.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |