crypto: align per thread data to cache line

Type: improvement

Change-Id: I6bad46403c07b211dfda7229aed1b5e19342865f
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
This commit is contained in:
Filip Tehlar
2020-03-05 16:41:27 +00:00
committed by Dave Barach
parent 1322375357
commit fb8ed8b955
2 changed files with 4 additions and 1 deletions

View File

@ -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;