git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
app/crypto-perf: support lookaside IPsec
[dpdk.git]
/
lib
/
cryptodev
/
rte_crypto.h
diff --git
a/lib/cryptodev/rte_crypto.h
b/lib/cryptodev/rte_crypto.h
index
fd5ef3a
..
a864f50
100644
(file)
--- a/
lib/cryptodev/rte_crypto.h
+++ b/
lib/cryptodev/rte_crypto.h
@@
-65,6
+65,11
@@
enum rte_crypto_op_sess_type {
RTE_CRYPTO_OP_SECURITY_SESSION /**< Security session crypto operation */
};
RTE_CRYPTO_OP_SECURITY_SESSION /**< Security session crypto operation */
};
+/* Auxiliary flags related to IPsec offload with RTE_SECURITY */
+
+#define RTE_CRYPTO_OP_AUX_FLAGS_IPSEC_SOFT_EXPIRY (1 << 0)
+/**< SA soft expiry limit has been reached */
+
/**
* Cryptographic Operation.
*
/**
* Cryptographic Operation.
*
@@
-93,7
+98,12
@@
struct rte_crypto_op {
*/
uint8_t sess_type;
/**< operation session type */
*/
uint8_t sess_type;
/**< operation session type */
- uint8_t reserved[3];
+ uint8_t aux_flags;
+ /**< Operation specific auxiliary/additional flags.
+ * These flags carry additional information from the
+ * operation. Processing of the same is optional.
+ */
+ uint8_t reserved[2];
/**< Reserved bytes to fill 64 bits for
* future additions
*/
/**< Reserved bytes to fill 64 bits for
* future additions
*/