[dpdk-dev] [PATCH 1/1] fix the number of operations in libcrypto test
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of De Lara Guarch, > Pablo > Sent: Monday, October 10, 2016 5:27 PM > To: Kerlin, MarcinX; dev at dpdk.org > Cc: Jastrzebski, MichalX K > Subject: Re: [dpdk-dev] [PATCH 1/1] fix the number of operations in libcrypto > test > > > > > -Original Message- > > From: Kerlin, MarcinX > > Sent: Monday, October 10, 2016 1:08 AM > > To: dev at dpdk.org > > Cc: De Lara Guarch, Pablo; Jastrzebski, MichalX K; Kerlin, MarcinX > > Subject: [PATCH 1/1] fix the number of operations in libcrypto test > > > > 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 > > --- > > 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 = 100; > > + unsigned int total_operations = 1; > > unsigned int burst_size = { 64 }; > > unsigned int buf_lengths[] = { 64, 128, 256, 512, 768, 1024, 1280, > > 1536, > > 1792, 2048 }; > > -- > > 1.9.1 > > Acked-by: Pablo de Lara > > Will change the title, as it is missing the category (app/test: ) Applied to dpdk-next-crypto. Thanks, Pablo
[dpdk-dev] [PATCH 1/1] fix the number of operations in libcrypto test
> -Original Message- > From: Kerlin, MarcinX > Sent: Monday, October 10, 2016 1:08 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Jastrzebski, MichalX K; Kerlin, MarcinX > Subject: [PATCH 1/1] fix the number of operations in libcrypto test > > 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 > --- > 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 = 100; > + unsigned int total_operations = 1; > unsigned int burst_size = { 64 }; > unsigned int buf_lengths[] = { 64, 128, 256, 512, 768, 1024, 1280, > 1536, > 1792, 2048 }; > -- > 1.9.1 Acked-by: Pablo de Lara Will change the title, as it is missing the category (app/test: )
[dpdk-dev] [PATCH 1/1] fix the number of operations in libcrypto test
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 --- 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 = 100; + unsigned int total_operations = 1; unsigned int burst_size = { 64 }; unsigned int buf_lengths[] = { 64, 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048 }; -- 1.9.1