test/ipsec: fix logic around dequeue burst
authorBernard Iremonger <bernard.iremonger@intel.com>
Fri, 12 Apr 2019 14:08:09 +0000 (15:08 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Thu, 18 Apr 2019 14:01:28 +0000 (16:01 +0200)
commit2cb4a0d44b5f286f6047bf6fb93d4bd9e3b6d8a9
treec91004a5d6b529fc9390d98f7401204fddea6f5f
parent64c469b9e7d8faa85745adbfaf02d17cbb5b2bb4
test/ipsec: fix logic around dequeue burst

Added crypto_dequeue_burst() function to call
rte_crypto_dequeue_burst() in a loop with a
delay to ensure that all the  packets are
dequeued from the crypto device.

Fixes: 59d7353b0df0 ("test/ipsec: fix test suite setup")
Cc: stable@dpdk.org
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
app/test/test_ipsec.c