From: Florin Coras Date: Tue, 24 Apr 2018 14:04:27 +0000 (-0700) Subject: ipsec: make crypto_worker_main_t a full cache line in size X-Git-Tag: v18.07-rc1~423 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=499003ef6e9324370e101b34b4ccda9cf0d22d3f;p=vpp.git ipsec: make crypto_worker_main_t a full cache line in size Change-Id: I927c9358915e03187cf7d3098c00b85b5ea2f92d Signed-off-by: Florin Coras --- diff --git a/src/plugins/dpdk/ipsec/ipsec.h b/src/plugins/dpdk/ipsec/ipsec.h index d1009ecdb33..d4c620a133b 100644 --- a/src/plugins/dpdk/ipsec/ipsec.h +++ b/src/plugins/dpdk/ipsec/ipsec.h @@ -68,6 +68,7 @@ typedef struct struct rte_crypto_op **ops; u16 cipher_resource_idx[IPSEC_CRYPTO_N_ALG]; u16 auth_resource_idx[IPSEC_INTEG_N_ALG]; + CLIB_CACHE_LINE_ALIGN_MARK (pad); } crypto_worker_main_t __attribute__ ((aligned (CLIB_CACHE_LINE_BYTES))); typedef struct