> > 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.go...@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.agra...@nxp.com>
> Acked-by: Anoob Joseph <ano...@marvell.com>
> Acked-by: Konstantin Ananyev <konstantin.anan...@intel.com>

Applied


Reply via email to