[dpdk-stable] patch 'examples/fips_validation: fix device start' has been queued to stable release 20.11.4

Xueming Li xuemingl at nvidia.com
Wed Nov 10 07:31:55 CET 2021


Hi,

FYI, your patch has been queued to stable release 20.11.4

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/12/21. 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/steevenlee/dpdk

This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/50b00472f9163d78ee2cd527c30b4ef3d98a4430

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 50b00472f9163d78ee2cd527c30b4ef3d98a4430 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
Cc: Xueming Li <xuemingl at nvidia.com>

[ 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 dee9272880..7f4beef94c 100644
--- a/examples/fips_validation/main.c
+++ b/examples/fips_validation/main.c
@@ -128,6 +128,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.33.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-11-10 14:17:12.085580085 +0800
+++ 0231-examples-fips_validation-fix-device-start.patch	2021-11-10 14:17:02.064077842 +0800
@@ -1 +1 @@
-From 3b2311cc096810dae761578cf526a95fc56cfc85 Mon Sep 17 00:00:00 2001
+From 50b00472f9163d78ee2cd527c30b4ef3d98a4430 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 3b2311cc096810dae761578cf526a95fc56cfc85 ]
@@ -11 +13,0 @@
-Cc: stable at dpdk.org
@@ -20 +22 @@
-index b0de3d269a..dc40bffe7d 100644
+index dee9272880..7f4beef94c 100644
@@ -23 +25 @@
-@@ -134,6 +134,10 @@ cryptodev_fips_validate_app_int(void)
+@@ -128,6 +128,10 @@ cryptodev_fips_validate_app_int(void)


More information about the stable mailing list