[dpdk-stable] patch 'app/crypto-perf: fix display of sample test vector' has been queued to LTS release 18.11.9

Kevin Traynor ktraynor at redhat.com
Fri Jun 5 20:24:26 CEST 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.9

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/10/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/fd7f4fedf57382aa7556b89d682d8374b087f0ca

Thanks.

Kevin.

---
>From fd7f4fedf57382aa7556b89d682d8374b087f0ca Mon Sep 17 00:00:00 2001
From: Adam Dybkowski <adamx.dybkowski at intel.com>
Date: Wed, 29 Apr 2020 12:57:04 +0200
Subject: [PATCH] app/crypto-perf: fix display of sample test vector

[ upstream commit 16f25ee0bf45a3e1b5c4ba4b7e548e321c7db60d ]

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")

Signed-off-by: Adam Dybkowski <adamx.dybkowski at intel.com>
Acked-by: Fiona Trahe <fiona.trahe 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 921394799a..8affc5dc95 100644
--- a/app/test-crypto-perf/main.c
+++ b/app/test-crypto-perf/main.c
@@ -545,5 +545,6 @@ main(int argc, char **argv)
 	}
 
-	if (!opts.silent)
+	if (!opts.silent && opts.test != CPERF_TEST_TYPE_THROUGHPUT &&
+			opts.test != CPERF_TEST_TYPE_LATENCY)
 		show_test_vector(t_vec);
 
-- 
2.21.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-06-05 19:20:52.461424804 +0100
+++ 0029-app-crypto-perf-fix-display-of-sample-test-vector.patch	2020-06-05 19:20:50.756042040 +0100
@@ -1 +1 @@
-From 16f25ee0bf45a3e1b5c4ba4b7e548e321c7db60d Mon Sep 17 00:00:00 2001
+From fd7f4fedf57382aa7556b89d682d8374b087f0ca Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 16f25ee0bf45a3e1b5c4ba4b7e548e321c7db60d ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index 52a1860fbf..7bb286ccbe 100644
+index 921394799a..8affc5dc95 100644
@@ -24 +25 @@
-@@ -583,5 +583,6 @@ main(int argc, char **argv)
+@@ -545,5 +545,6 @@ main(int argc, char **argv)



More information about the stable mailing list