app/crypto-perf: fix display of sample test vector
PATCH 1/1 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).
--- app/test-crypto-perf/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
app/test-crypto-perf/main.c +2 -1
@@ -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;
Signature · 1 line
2.17.1
Quoted 14 lines
-----Original Message-----
From: Dybkowski, AdamX <[email protected]>
Sent: Wednesday, April 29, 2020 11:57 AM
To: [email protected]; Trahe, Fiona <[email protected]>; [email protected]
Cc: Dybkowski, AdamX <[email protected]>; [email protected]
Subject: [PATCH] app/crypto-perf: fix display of sample test vectorThis 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).
Quoted 4 lines
Fixes f8be1786b1b8 ("app/crypto-perf: introduce performance test application")Signed-off-by Adam Dybkowski <[email protected]>
Akhil Goyal
AppliedQuoted 5 lines
Quoted 5 lines
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).
Quoted 7 lines
Quoted 1 line
Fixes f8be1786b1b8 ("app/crypto-perf: introduce performance testapplication")
Quoted 3 lines
Signed-off-by Adam Dybkowski <[email protected]>Acked-by Fiona Trahe <[email protected]>
Applied to dpdk-next-crypto
Thanks.