[dpdk-dev] [PATCH] app/crypto-perf: fix display of sample test vector
Adam Dybkowski
adamx.dybkowski at intel.com
Wed Apr 29 12:57:04 CEST 2020
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 at dpdk.org
Signed-off-by: Adam Dybkowski <adamx.dybkowski at intel.com>
---
app/test-crypto-perf/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c
index 52a1860fb..7bb286ccb 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;
--
2.17.1
More information about the dev
mailing list