This commit adds void * _priv member to rte_crypto_op struct to be used by internal driver operations.
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal at intel.com> --- lib/librte_cryptodev/rte_crypto.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/librte_cryptodev/rte_crypto.h b/lib/librte_cryptodev/rte_crypto.h index 9019518..9aa09ce 100644 --- a/lib/librte_cryptodev/rte_crypto.h +++ b/lib/librte_cryptodev/rte_crypto.h @@ -117,6 +117,9 @@ struct rte_crypto_op { struct rte_crypto_sym_op *sym; /**< Symmetric operation parameters */ }; /**< operation specific parameters */ + + void *_priv; + /**< Private pointer to be used by driver */ } __rte_cache_aligned; /** @@ -146,6 +149,7 @@ __rte_crypto_op_reset(struct rte_crypto_op *op, enum rte_crypto_op_type type) } op->opaque_data = NULL; + op->_priv = NULL; } /** -- 2.1.0