patch 'crypto/ipsec_mb: relax multi-process requirement' has been queued to stable release 22.11.2

Xueming Li xuemingl at nvidia.com
Sun Apr 9 17:24:55 CEST 2023


Hi,

FYI, your patch has been queued to stable release 22.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 04/11/23. 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://git.dpdk.org/dpdk-stable/log/?h=22.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging/commit/39ca0f7397d1410576d8ab8162b079d430eefb4a

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 39ca0f7397d1410576d8ab8162b079d430eefb4a Mon Sep 17 00:00:00 2001
From: Krzysztof Karas <krzysztof.karas at intel.com>
Date: Mon, 13 Mar 2023 13:01:06 +0100
Subject: [PATCH] crypto/ipsec_mb: relax multi-process requirement
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 3707f9795c4888448f1b9121e59da7708d3ba0bc ]

Multi-process IPC support enforces usage of shared
config and multiprocess mode.
Since it is not required to be run with more than one
process in general, so instead of erroring out,
catch the error and proceed with ipsec_mb device
creation normally.

Fixes: b35848bc01f6 ("crypto/ipsec_mb: add multi-process IPC request handler")

Signed-off-by: Krzysztof Karas <krzysztof.karas at intel.com>
Acked-by: Kai Ji <kai.ji at intel.com>
---
 drivers/crypto/ipsec_mb/ipsec_mb_private.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/ipsec_mb/ipsec_mb_private.c b/drivers/crypto/ipsec_mb/ipsec_mb_private.c
index 50b789a29b..64f2b4b604 100644
--- a/drivers/crypto/ipsec_mb/ipsec_mb_private.c
+++ b/drivers/crypto/ipsec_mb/ipsec_mb_private.c
@@ -170,7 +170,7 @@ ipsec_mb_create(struct rte_vdev_device *vdev,
 
 	if (rte_eal_process_type() == RTE_PROC_PRIMARY) {
 		retval = ipsec_mb_mp_request_register();
-		if (retval && (rte_errno == EEXIST))
+		if (retval && ((rte_errno == EEXIST) || (rte_errno == ENOTSUP)))
 			/* Safe to proceed, return 0 */
 			return 0;
 
-- 
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-04-09 21:45:41.526039300 +0800
+++ 0107-crypto-ipsec_mb-relax-multi-process-requirement.patch	2023-04-09 21:45:38.759042200 +0800
@@ -1 +1 @@
-From 3707f9795c4888448f1b9121e59da7708d3ba0bc Mon Sep 17 00:00:00 2001
+From 39ca0f7397d1410576d8ab8162b079d430eefb4a Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 3707f9795c4888448f1b9121e59da7708d3ba0bc ]
@@ -14 +16,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list