[PATCH v2 8/8] crypto/ipsec_mb: set and use session ID

Thomas Monjalon thomas at monjalon.net
Sat Jun 10 22:15:02 CEST 2023


16/05/2023 17:24, Ciara Power:
> From: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> 
> When creating a session, get the session ID that
> defines the fixed session parameters and store it in the private data.
> When retrieving IMB_JOB's, if their internal session ID matches
> the one in the private session data, these fixed session parameters
> do not need to be filled again.
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
> Signed-off-by: Ciara Power <ciara.power at intel.com>
[...]
> +#if IMB_VERSION(1, 3, 0) < IMB_VERSION_NUM
> +	sess->session_id = imb_set_session(mb_mgr, &sess->template_job);
> +#endif

For info, this does not compile with
https://git.gitlab.arm.com/arm-reference-solutions/ipsec-mb.git
because Arm did not merge Intel's code correctly,
and imb_set_session() is missing while version is 1.4.0-dev.

Anyway I hate this situation having 2 repos for the same thing.
Please merge Arm code in the original repository from Intel.




More information about the dev mailing list