On 12/14/2018 10:10 PM, Konstantin Ananyev wrote: > In some cases crypto-ops could never be dequeued from the crypto-device. > The easiest way to reproduce: > start ipsec-secgw with crypto-dev and send to it less then 32 packets. > none packets will be forwarded. > Reason for that is that the application does dequeue() from crypto-queues > only when new packets arrive. > This patch makes sure it calls dequeue() on a regular basis. > > Fixes: c64278c0c18b ("examples/ipsec-secgw: rework processing loop") Thanks for looking into this age long issue of ipsec-secgw. But wouldn't this cause packet reordering, and the packets which are somehow left in the queue will get delayed and would be dropped subsequently due to anti-replay late? > Signed-off-by: Konstantin Ananyev <konstantin.anan...@intel.com> > Acked-by: Radu Nicolau <radu.nico...@intel.com> > --- >
- [dpdk-dev] [PATCH v2 6/7] examples/ipsec-secgw: make d... Konstantin Ananyev
- [dpdk-dev] [PATCH v2 1/7] examples/ipsec-secgw: avoid ... Konstantin Ananyev
- [dpdk-dev] [PATCH v3 0/8] examples/ipsec-secgw: m... Konstantin Ananyev
- Re: [dpdk-dev] [PATCH v3 0/8] examples/ipsec-... Radu Nicolau
- [dpdk-dev] [PATCH v4 0/9] examples/ipsec-secg... Konstantin Ananyev
- [dpdk-dev] [PATCH v4 1/9] examples/ipsec-secg... Konstantin Ananyev
- Re: [dpdk-dev] [PATCH v4 1/9] examples/ip... Akhil Goyal
- [dpdk-dev] [PATCH v4 2/9] examples/ipsec-secg... Konstantin Ananyev
- Re: [dpdk-dev] [PATCH v4 2/9] examples/ip... Akhil Goyal
- [dpdk-dev] [PATCH v4 3/9] examples/ipsec-secg... Konstantin Ananyev
- Re: [dpdk-dev] [PATCH v4 3/9] examples/ip... Akhil Goyal
- Re: [dpdk-dev] [PATCH v4 3/9] example... Ananyev, Konstantin
- Re: [dpdk-dev] [PATCH v4 3/9] ex... Akhil Goyal
- Re: [dpdk-dev] [PATCH v4 3/9] ex... Ananyev, Konstantin
- [dpdk-dev] [PATCH v4 4/9] examples/ipsec-secg... Konstantin Ananyev
- Re: [dpdk-dev] [PATCH v4 4/9] examples/ip... Akhil Goyal
- Re: [dpdk-dev] [PATCH v4 4/9] example... Ananyev, Konstantin
- [dpdk-dev] [PATCH v4 5/9] examples/ipsec-secg... Konstantin Ananyev
- [dpdk-dev] [PATCH v4 9/9] doc: update ipsec-s... Konstantin Ananyev
- [dpdk-dev] [PATCH v4 6/9] examples/ipsec-secg... Konstantin Ananyev
- Re: [dpdk-dev] [PATCH v4 6/9] examples/ip... Akhil Goyal