patch 'crypto/cnxk: update SG list population' has been queued to stable release 24.11.3
Kevin Traynor
ktraynor at redhat.com
Fri Jul 18 21:30:15 CEST 2025
Hi,
FYI, your patch has been queued to stable release 24.11.3
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/23/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/f8606f15ef1fae94bd4b003c24cf2e93f24706e3
Thanks.
Kevin
---
>From f8606f15ef1fae94bd4b003c24cf2e93f24706e3 Mon Sep 17 00:00:00 2001
From: Vidya Sagar Velumuri <vvelumuri at marvell.com>
Date: Tue, 27 May 2025 09:30:31 +0530
Subject: [PATCH] crypto/cnxk: update SG list population
[ upstream commit 3644dc3205e6be1a33eb6303c29731acac5b9aaa ]
Update the last seg with length before populating the scatter list.
Fixes: 9a126e7cf088 ("crypto/cnxk: support TLS padding verification")
Signed-off-by: Vidya Sagar Velumuri <vvelumuri at marvell.com>
---
drivers/crypto/cnxk/cn10k_tls_ops.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/crypto/cnxk/cn10k_tls_ops.h b/drivers/crypto/cnxk/cn10k_tls_ops.h
index e8e2547f68..c5ef3027ac 100644
--- a/drivers/crypto/cnxk/cn10k_tls_ops.h
+++ b/drivers/crypto/cnxk/cn10k_tls_ops.h
@@ -137,4 +137,6 @@ process_tls_write(struct roc_cpt_lf *lf, struct rte_crypto_op *cop, struct cn10k
g_size_bytes = ((i + 3) / 4) * sizeof(struct roc_sglist_comp);
+ /* Output Scatter List */
+ last_seg->data_len += sess->max_extended_len + pad_bytes;
i = 0;
scatter_comp = (struct roc_sglist_comp *)((uint8_t *)gather_comp + g_size_bytes);
@@ -157,6 +159,4 @@ process_tls_write(struct roc_cpt_lf *lf, struct rte_crypto_op *cop, struct cn10k
w4.s.opcode_minor = pad_len;
- /* Output Scatter List */
- last_seg->data_len += sess->max_extended_len + pad_bytes;
inst->w4.u64 = w4.u64;
} else {
@@ -190,4 +190,6 @@ process_tls_write(struct roc_cpt_lf *lf, struct rte_crypto_op *cop, struct cn10k
g_size_bytes = ((i + 2) / 3) * sizeof(struct roc_sg2list_comp);
+ /* Output Scatter List */
+ last_seg->data_len += sess->max_extended_len + pad_bytes;
i = 0;
scatter_comp = (struct roc_sg2list_comp *)((uint8_t *)gather_comp + g_size_bytes);
@@ -210,6 +212,4 @@ process_tls_write(struct roc_cpt_lf *lf, struct rte_crypto_op *cop, struct cn10k
w4.s.param1 = w4.s.dlen;
w4.s.param2 = cop->param1.tls_record.content_type;
- /* Output Scatter List */
- last_seg->data_len += sess->max_extended_len + pad_bytes;
inst->w4.u64 = w4.u64;
}
--
2.50.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-07-18 20:29:13.841522955 +0100
+++ 0081-crypto-cnxk-update-SG-list-population.patch 2025-07-18 20:29:10.986907503 +0100
@@ -1 +1 @@
-From 3644dc3205e6be1a33eb6303c29731acac5b9aaa Mon Sep 17 00:00:00 2001
+From f8606f15ef1fae94bd4b003c24cf2e93f24706e3 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 3644dc3205e6be1a33eb6303c29731acac5b9aaa ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list