patch 'crypto/cnxk: fix asymmetric operation status code' has been queued to stable release 24.11.2

Kevin Traynor ktraynor at redhat.com
Fri Mar 7 13:47:08 CET 2025


Hi,

FYI, your patch has been queued to stable release 24.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 03/12/25. 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

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

Thanks.

Kevin

---
>From 1b3d7199b2eee7a227e59b649fa00c9c5e6d918f Mon Sep 17 00:00:00 2001
From: Gowrishankar Muthukrishnan <gmuthukrishn at marvell.com>
Date: Sun, 16 Feb 2025 19:55:07 +0530
Subject: [PATCH] crypto/cnxk: fix asymmetric operation status code

[ upstream commit a5c2058e22edd150ace5b23076fde7f9e722755d ]

Return error code in an asymmetric operation status
when none of the known conditions met.

Fixes: d29c4e0a4bea ("crypto/cnxk: fix ECDH public key verification")

Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn at marvell.com>
---
 drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/crypto/cnxk/cn9k_cryptodev_ops.c b/drivers/crypto/cnxk/cn9k_cryptodev_ops.c
index 8d10bc9f9b..2b1bd70c6d 100644
--- a/drivers/crypto/cnxk/cn9k_cryptodev_ops.c
+++ b/drivers/crypto/cnxk/cn9k_cryptodev_ops.c
@@ -530,4 +530,6 @@ cn9k_cpt_dequeue_post_process(struct cnxk_cpt_qp *qp, struct rte_crypto_op *cop,
 						return;
 					}
+				} else {
+					cop->status = RTE_CRYPTO_OP_STATUS_ERROR;
 				}
 			} else
-- 
2.48.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-03-07 11:02:58.190427501 +0000
+++ 0035-crypto-cnxk-fix-asymmetric-operation-status-code.patch	2025-03-07 11:02:56.906552102 +0000
@@ -1 +1 @@
-From a5c2058e22edd150ace5b23076fde7f9e722755d Mon Sep 17 00:00:00 2001
+From 1b3d7199b2eee7a227e59b649fa00c9c5e6d918f Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit a5c2058e22edd150ace5b23076fde7f9e722755d ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list