summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/ipsec
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2018-04-24 07:04:27 -0700
committerDamjan Marion <dmarion.lists@gmail.com>2018-04-25 07:19:10 +0000
commit499003ef6e9324370e101b34b4ccda9cf0d22d3f (patch)
treea003283717dfd1f89a86fc8ac9c2c2ef19e80ebf /src/plugins/dpdk/ipsec
parentb1d2aa8bca3a6e1811fb67dde9c8862e13216824 (diff)
ipsec: make crypto_worker_main_t a full cache line in size
Change-Id: I927c9358915e03187cf7d3098c00b85b5ea2f92d Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/ipsec')
-rw-r--r--src/plugins/dpdk/ipsec/ipsec.h1
1 files changed, 1 insertions, 0 deletions
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