[dpdk-dev] [PATCH] doc: add deprecation notice for security session create API

Thomas Monjalon thomas at monjalon.net
Thu Aug 6 18:19:17 CEST 2020


> > 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 will be 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>
> > ---
> > +* security: 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 will be modified to take two mempool pointers - one for session
> > +  and one for private data.
> > +
> Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
> Acked-by: Anoob Joseph <anoobj at marvell.com>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

Applied




More information about the dev mailing list