Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
dpdk: bump to dpdk 17.08, remove support for dpdk 17.02
[vpp.git]
/
src
/
plugins
/
dpdk
/
ipsec
/
esp.h
diff --git
a/src/plugins/dpdk/ipsec/esp.h
b/src/plugins/dpdk/ipsec/esp.h
index
308a66a
..
5b5c81a
100644
(file)
--- 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.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
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;
cipher_xform.next = NULL;
xfs = &cipher_xform;
p_key->is_aead = 1;