[dpdk-dev] [PATCH v3 2/9] security: add opaque userdata pointer into security session

Doherty, Declan declan.doherty at intel.com
Tue Dec 11 18:25:05 CET 2018


On 06/12/2018 3:38 PM, Konstantin Ananyev wrote:
> 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.ananyev at intel.com>
> Acked-by: Mohammad Abdul Awal <mohammad.abdul.awal at 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 */
>   };
>   
>   /**
> 

Acked-by: Declan Doherty <declan.doherty at intel.com>



More information about the dev mailing list