From: Adam Dybkowski Date: Wed, 29 Apr 2020 10:57:04 +0000 (+0200) Subject: app/crypto-perf: fix display of sample test vector X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=16f25ee0bf45a3e1b5c4ba4b7e548e321c7db60d;p=dpdk.git app/crypto-perf: fix display of sample test vector This patch disables displaying sample test vector contents when executing throughput and latency tests as the sample data is not used in those tests (not copied to input mbuf in order to achieve better performance). Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Cc: stable@dpdk.org Signed-off-by: Adam Dybkowski Acked-by: Fiona Trahe --- diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c index 52a1860fbf..7bb286ccbe 100644 --- a/app/test-crypto-perf/main.c +++ b/app/test-crypto-perf/main.c @@ -582,7 +582,8 @@ main(int argc, char **argv) goto err; } - if (!opts.silent) + if (!opts.silent && opts.test != CPERF_TEST_TYPE_THROUGHPUT && + opts.test != CPERF_TEST_TYPE_LATENCY) show_test_vector(t_vec); total_nb_qps = nb_cryptodevs * opts.nb_qps;