> -----Original Message----- > From: Akhil Goyal [mailto:[email protected]] > Sent: Thursday, December 14, 2017 7:19 AM > To: [email protected] > Cc: De Lara Guarch, Pablo <[email protected]>; > [email protected]; Gonzalez Monroy, Sergio > <[email protected]>; Nicolau, Radu > <[email protected]>; Akhil Goyal <[email protected]> > 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 <[email protected]>
Acked-by: Radu Nicolau <[email protected]>

