[dpdk-dev] [PATCH v5] security: update session create API

Thomas Monjalon thomas at monjalon.net
Mon Oct 19 09:51:41 CEST 2020


18/10/2020 13:03, Lukasz Wojciechowski:
> W dniu 18.10.2020 o 11:40, Akhil Goyal pisze:
> > The API ``rte_security_session_create`` takes only single
> > mempool for session and session private data. So the
> > application need to create mempool for twice the number of
> > sessions needed and will also lead to wastage of memory as
> > session private data need more memory compared to session.
> > Hence the API is modified to take two mempool pointers
> > - one for session and one for private data.
> > This is very similar to crypto based session create APIs.
> >
> > Signed-off-by: Akhil Goyal <akhil.goyal at nxp.com>
> Reviewed-by: Lukasz Wojciechowski <l.wojciechow at partner.samsung.com>
> Tested-by: Lukasz Wojciechowski <l.wojciechow at partner.samsung.com>

Applied, thanks





More information about the dev mailing list