patch 'examples/fips_validation: fix device start' has been queued to stable release 19.11.11

christian.ehrhardt at canonical.com christian.ehrhardt at canonical.com
Tue Nov 30 17:35:24 CET 2021


Hi,

FYI, your patch has been queued to stable release 19.11.11

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before December 10th 2021. 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/cpaelzer/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/cpaelzer/dpdk-stable-queue/commit/50f8c290917b20ead100c39f07a7c4166226eb4a

Thanks.

Christian Ehrhardt <christian.ehrhardt at canonical.com>

---
>From 50f8c290917b20ead100c39f07a7c4166226eb4a Mon Sep 17 00:00:00 2001
From: Fan Zhang <roy.fan.zhang at intel.com>
Date: Thu, 28 Oct 2021 11:22:00 +0100
Subject: [PATCH] examples/fips_validation: fix device start

[ upstream commit 3b2311cc096810dae761578cf526a95fc56cfc85 ]

This patch fixes the missing device start for fips validation
sample app.

Bugzilla ID: 842
Fixes: 261bbff75e34 ("examples: use separate crypto session mempools")

Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>
---
 examples/fips_validation/main.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/examples/fips_validation/main.c b/examples/fips_validation/main.c
index 5a4a25cb61..739c93656f 100644
--- a/examples/fips_validation/main.c
+++ b/examples/fips_validation/main.c
@@ -118,6 +118,10 @@ cryptodev_fips_validate_app_int(void)
 	if (ret < 0)
 		goto error_exit;
 
+	ret = rte_cryptodev_start(env.dev_id);
+	if (ret < 0)
+		goto error_exit;
+
 	return 0;
 
 error_exit:
-- 
2.34.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-11-30 16:50:12.989979726 +0100
+++ 0120-examples-fips_validation-fix-device-start.patch	2021-11-30 16:50:05.946874675 +0100
@@ -1 +1 @@
-From 3b2311cc096810dae761578cf526a95fc56cfc85 Mon Sep 17 00:00:00 2001
+From 50f8c290917b20ead100c39f07a7c4166226eb4a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 3b2311cc096810dae761578cf526a95fc56cfc85 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index b0de3d269a..dc40bffe7d 100644
+index 5a4a25cb61..739c93656f 100644
@@ -23 +24 @@
-@@ -134,6 +134,10 @@ cryptodev_fips_validate_app_int(void)
+@@ -118,6 +118,10 @@ cryptodev_fips_validate_app_int(void)


More information about the stable mailing list