[dpdk-dev] [PATCH 1/1] fix the number of operations in libcrypto test

Marcin Kerlin marcinx.kerlin at intel.com
Mon Oct 10 10:07:50 CEST 2016


This patch reduce the number of total operations from 1M to 10K, because
test is taking too long time now.

Fixes: ffbe3be0d4b5 ("app/test: add libcrypto")

Signed-off-by: Marcin Kerlin <marcinx.kerlin at intel.com>
---
 app/test/test_cryptodev_perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/test_cryptodev_perf.c b/app/test/test_cryptodev_perf.c
index 4aee9af..43a7166 100644
--- a/app/test/test_cryptodev_perf.c
+++ b/app/test/test_cryptodev_perf.c
@@ -3420,7 +3420,7 @@ test_perf_snow3G_vary_pkt_size(void)
 static int
 test_perf_libcrypto_vary_pkt_size(void)
 {
-	unsigned int total_operations = 1000000;
+	unsigned int total_operations = 10000;
 	unsigned int burst_size = { 64 };
 	unsigned int buf_lengths[] = { 64, 128, 256, 512, 768, 1024, 1280, 1536,
 			1792, 2048 };
-- 
1.9.1



More information about the dev mailing list