numam-dpdk/examples/ipsec-secgw
Akhil Goyal 84d4b5e4ec 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@nxp.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
2018-01-20 16:10:52 +01:00
..
ep0.cfg examples/ipsec-secgw: add sample configuration files 2016-10-04 20:41:09 +02:00
ep1.cfg examples/ipsec-secgw: add sample configuration files 2016-10-04 20:41:09 +02:00
esp.c examples/ipsec-secgw: support inline protocol 2018-01-20 16:10:20 +01:00
esp.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ipip.h examples/ipsec-secgw: update incremental checksum 2018-01-20 16:10:52 +01:00
ipsec-secgw.c examples/ipsec-secgw: add cryptodev mask option 2018-01-20 16:10:20 +01:00
ipsec.c examples/ipsec-secgw: improve IPsec dequeue logic 2018-01-20 16:10:52 +01:00
ipsec.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
Makefile examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
parser.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
parser.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rt.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
sa.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
sp4.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
sp6.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00