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

Nicolau, Radu radu.nicolau at intel.com
Tue Jan 16 17:12:38 CET 2018


> -----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>



More information about the dev mailing list