ipsec: make crypto_worker_main_t a full cache line in size 86/12086/2
authorFlorin Coras <fcoras@cisco.com>
Tue, 24 Apr 2018 14:04:27 +0000 (07:04 -0700)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 25 Apr 2018 07:19:10 +0000 (07:19 +0000)
Change-Id: I927c9358915e03187cf7d3098c00b85b5ea2f92d
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/plugins/dpdk/ipsec/ipsec.h

index d1009ec..d4c620a 100644 (file)
@@ -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