[dpdk-dev] [PATCH v2] examples/ipsec-secgw: remove limitation for crypto sessions
Akhil Goyal
akhil.goyal at nxp.com
Wed Apr 15 21:19:39 CEST 2020
Hi Vladimir,
>
> Get rid of hardcoded limit of cryptodev sessions.
>
> Fixes: e1143d7dbbf4 ("examples/ipsec-secgw: get rid of maximum SA limitation")
> Cc: vladimir.medvedkin at intel.com
>
> Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
> ---
This will create an issue in case of rte_security sessions.
Rte_security session create APIs were not updated when the provision for having
Separate mempools for session and session private data was introduced.
As a result the number of entries in session_priv_pool should be double the number of
Supported sessions - one for session and one for session priv data.
This should be fixed in rte_security API but this would mean an API breakage which cannot
Be done before 20.11. So this patch need to be deferred till it is not fixed in rte_security.
Or we can have double the number of required entries in mempool.
Regards,
Akhil
More information about the dev
mailing list