app/crypto-perf: fix crypto operation resubmission
authorFan Zhang <roy.fan.zhang@intel.com>
Tue, 18 Apr 2017 14:48:31 +0000 (15:48 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 20 Apr 2017 09:32:45 +0000 (11:32 +0200)
commit44e2980b70d14cf287779bd53a162b81d94e23cf
treeb504b461f7748a4a17c0bb82147b3a4f0ce7d832
parentdc8bd2f633a91a1507f01670b430079de87d0f1d
app/crypto-perf: fix crypto operation resubmission

This patch fixes the crypto operation resubmission problem in crypto
perferformance test. Originally, when needed crypto ops amount is
smaller than the enqueued crypto ops in the last round, one or more
processed crypto operations will be re-enqueued.

Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application")
Cc: stable@dpdk.org
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-crypto-perf/cperf_test_throughput.c