summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/ipsec/esp.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-08-25 19:10:57 +0200
committerDave Barach <openvpp@barachs.net>2017-08-25 20:27:38 +0000
commit206b2d4342b1c1b7715c7d442f582da02e5ec9b9 (patch)
tree4cf490b59276cb0bd117d4bdad0b4181214b584c /src/plugins/dpdk/ipsec/esp.h
parentfcbf44448b85519b85616a6b87310462249c1c63 (diff)
dpdk: bump to dpdk 17.08, remove support for dpdk 17.02
Change-Id: I674fb1212e48693939045523df085326a4dd1809 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/ipsec/esp.h')
-rw-r--r--src/plugins/dpdk/ipsec/esp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/dpdk/ipsec/esp.h b/src/plugins/dpdk/ipsec/esp.h
index 308a66afe74..5b5c81aef47 100644
--- a/src/plugins/dpdk/ipsec/esp.h
+++ b/src/plugins/dpdk/ipsec/esp.h
@@ -242,9 +242,11 @@ create_sym_sess (ipsec_sa_t * sa, crypto_sa_session_t * sa_sess,
cipher_xform.aead.key.length = sa->crypto_key_len;
if (is_outbound)
- cipher_xform.cipher.op = RTE_CRYPTO_AEAD_OP_ENCRYPT;
+ cipher_xform.cipher.op =
+ (enum rte_crypto_cipher_operation) RTE_CRYPTO_AEAD_OP_ENCRYPT;
else
- cipher_xform.cipher.op = RTE_CRYPTO_AEAD_OP_DECRYPT;
+ cipher_xform.cipher.op =
+ (enum rte_crypto_cipher_operation) RTE_CRYPTO_AEAD_OP_DECRYPT;
cipher_xform.next = NULL;
xfs = &cipher_xform;
p_key->is_aead = 1;