summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/ipsec/ipsec.h
diff options
context:
space:
mode:
authorRadu Nicolau <radu.nicolau@intel.com>2018-04-06 12:12:21 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2018-04-10 10:32:25 +0000
commit5aaea1186e4464c0bcbd165ead4b1782a35bb056 (patch)
tree9c178dc6dcac235a3dcb97c2028e8ee15d9370fc /src/plugins/dpdk/ipsec/ipsec.h
parent380e3daaaffd309febfc4764731982af08aa2dce (diff)
CSIT-895 dpdk/ipsec: add locks on session data hash updates
Change-Id: I6400b77de388c01e85209e5dc5f11ccafb79a459 Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Diffstat (limited to 'src/plugins/dpdk/ipsec/ipsec.h')
-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 a46f5bf5735..d1009ecdb33 100644
--- a/src/plugins/dpdk/ipsec/ipsec.h
+++ b/src/plugins/dpdk/ipsec/ipsec.h
@@ -135,6 +135,7 @@ typedef struct
u64 crypto_op_get_failed;
u64 session_h_failed;
u64 *session_drv_failed;
+ clib_spinlock_t lockp;
} crypto_data_t;
typedef struct