patch 'crypto/cnxk: fix IPsec CCM and GCM capabilities' has been queued to stable release 22.11.4

Xueming Li xuemingl at nvidia.com
Sun Oct 22 16:21:18 CEST 2023


Hi,

FYI, your patch has been queued to stable release 22.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/15/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/commit/?h=22.11-staging&id=39b817dfee51a72c83f15e5cffde8c58e79dd352

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 39b817dfee51a72c83f15e5cffde8c58e79dd352 Mon Sep 17 00:00:00 2001
From: Tejasree Kondoj <ktejasree at marvell.com>
Date: Tue, 26 Sep 2023 11:28:37 +0530
Subject: [PATCH] crypto/cnxk: fix IPsec CCM and GCM capabilities
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit e0cca92a6da05fd2b0071ad5b40d2d75a16deb23 ]

Fix lookaside IPsec AES-CCM and AES-GCM capabilities.
The patch to fix AES-CCM capabilities was applied incorrectly
which resulted in wrong AES-GCM capabilities.
Fix the same and update AES-CCM to correct values.

Fixes: eb581897e580 ("crypto/cnxk: fix IPsec CCM capabilities")

Signed-off-by: Anoob Joseph <anoobj at marvell.com>
Signed-off-by: Tejasree Kondoj <ktejasree at marvell.com>
---
 drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
index eb4e6ff966..b4d1925d23 100644
--- a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
+++ b/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c
@@ -851,8 +851,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = {
 					.increment = 4
 				},
 				.iv_size = {
-					.min = 12,
-					.max = 12,
+					.min = 11,
+					.max = 11,
 					.increment = 0
 				}
 			}, }
@@ -936,8 +936,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = {
 					.increment = 4
 				},
 				.iv_size = {
-					.min = 11,
-					.max = 11,
+					.min = 12,
+					.max = 12,
 					.increment = 0
 				}
 			}, }
--
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-10-22 22:17:36.250450500 +0800
+++ 0049-crypto-cnxk-fix-IPsec-CCM-and-GCM-capabilities.patch	2023-10-22 22:17:34.266723700 +0800
@@ -1 +1 @@
-From e0cca92a6da05fd2b0071ad5b40d2d75a16deb23 Mon Sep 17 00:00:00 2001
+From 39b817dfee51a72c83f15e5cffde8c58e79dd352 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit e0cca92a6da05fd2b0071ad5b40d2d75a16deb23 ]
@@ -12 +14,0 @@
-Cc: stable at dpdk.org
@@ -21 +23 @@
-index 4c6357353e..ac4a8c1572 100644
+index eb4e6ff966..b4d1925d23 100644
@@ -24 +26 @@
-@@ -1180,8 +1180,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = {
+@@ -851,8 +851,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = {
@@ -28,4 +30,4 @@
--					.min = 11,
--					.max = 11,
-+					.min = 12,
-+					.max = 12,
+-					.min = 12,
+-					.max = 12,
++					.min = 11,
++					.max = 11,
@@ -35 +37 @@
-@@ -1210,8 +1210,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = {
+@@ -936,8 +936,8 @@ static const struct rte_cryptodev_capabilities sec_caps_aes[] = {
@@ -39,4 +41,4 @@
--					.min = 12,
--					.max = 12,
-+					.min = 11,
-+					.max = 11,
+-					.min = 11,
+-					.max = 11,
++					.min = 12,
++					.max = 12,


More information about the stable mailing list