Add 'uint64_t opaque_data' inside struct rte_security_session. That allows upper layer to easily associate some user defined data with the session.
Signed-off-by: Konstantin Ananyev <konstantin.anan...@intel.com> Acked-by: Mohammad Abdul Awal <mohammad.abdul.a...@intel.com> Acked-by: Declan Doherty <declan.dohe...@intel.com> --- lib/librte_security/rte_security.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h index 718147e00..c8e438fdd 100644 --- a/lib/librte_security/rte_security.h +++ b/lib/librte_security/rte_security.h @@ -317,6 +317,8 @@ struct rte_security_session_conf { struct rte_security_session { void *sess_private_data; /**< Private session material */ + uint64_t opaque_data; + /**< Opaque user defined data */ }; /** -- 2.17.1