[dpdk-dev] [PATCH] examples/ipsec-secgw: improve ipsec dequeue logic

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Wed Jan 17 17:54:18 CET 2018



> -----Original Message-----
> From: Nicolau, Radu
> Sent: Tuesday, January 16, 2018 4:13 PM
> To: Akhil Goyal <akhil.goyal at nxp.com>; dev at dpdk.org
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>;
> hemant.agrawal at nxp.com; Gonzalez Monroy, Sergio
> <sergio.gonzalez.monroy at intel.com>
> Subject: RE: [PATCH] examples/ipsec-secgw: improve ipsec dequeue logic
> 
> 
> > -----Original Message-----
> > From: Akhil Goyal [mailto:akhil.goyal at nxp.com]
> > Sent: Thursday, December 14, 2017 7:19 AM
> > To: dev at dpdk.org
> > Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>;
> > hemant.agrawal at nxp.com; Gonzalez Monroy, Sergio
> > <sergio.gonzalez.monroy at intel.com>; Nicolau, Radu
> > <radu.nicolau at intel.com>; Akhil Goyal <akhil.goyal at nxp.com>
> > Subject: [PATCH] examples/ipsec-secgw: improve ipsec dequeue logic
> >
> > Since the processing of crypto operations may take time due to
> > hardware offload, all the packets may not be available in the single
> dequeue command.
> > So it may happen that there is leakage of cops, and there is nobody to
> > dequeue the packets because dequeue of crypto ops is done only once
> > for a particular queue pair even if it has more packets in flight.
> >
> > This patch dequeue the packets again if the inflight packets are more
> > than the max packet burst.
> >
> > Signed-off-by: Akhil Goyal <akhil.goyal at nxp.com>
> 
> Acked-by: Radu Nicolau <radu.nicolau at intel.com>

Applied to dpdk-next-crypto.
Thanks,

Pablo



More information about the dev mailing list