patch 'crypto/dpaa2_sec: fix debug prints' has been queued to stable release 22.11.4

Xueming Li xuemingl at nvidia.com
Sun Oct 22 16:21:09 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=00819a704d7c7d207ac8c3ca270669b5f8f79db5

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 00819a704d7c7d207ac8c3ca270669b5f8f79db5 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Wed, 13 Sep 2023 15:01:23 +0100
Subject: [PATCH] crypto/dpaa2_sec: fix debug prints
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit 3e52f9db64f8a6ac6aefe451243c63be5e5de401 ]

RTE_LIBRTE_SECURITY has been replaced with RTE_LIB_SECURITY for a
while now.

Fixes: 84bb24bd058c ("crypto/dpaa2_sec: add debug prints")

Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
---
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
index c25e40030b..cf1339f266 100644
--- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
+++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
@@ -1676,7 +1676,7 @@ dpaa2_sec_dump(struct rte_crypto_op *op)

 	if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION)
 		sess = CRYPTODEV_GET_SYM_SESS_PRIV(op->sym->session);
-#ifdef RTE_LIBRTE_SECURITY
+#ifdef RTE_LIB_SECURITY
 	else if (op->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION)
 		sess = SECURITY_GET_SESS_PRIV(op->sym->session);
 #endif
@@ -1703,7 +1703,7 @@ dpaa2_sec_dump(struct rte_crypto_op *op)
 		sess->digest_length, sess->status,
 		sess->ext_params.aead_ctxt.auth_only_len,
 		sess->ext_params.aead_ctxt.auth_cipher_text);
-#ifdef RTE_LIBRTE_SECURITY
+#ifdef RTE_LIB_SECURITY
 	printf("PDCP session params:\n"
 		"\tDomain:\t\t%d\n\tBearer:\t\t%d\n\tpkt_dir:\t%d\n\thfn_ovd:"
 		"\t%d\n\tsn_size:\t%d\n\thfn_ovd_offset:\t%d\n\thfn:\t\t%d\n"
--
2.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-10-22 22:17:35.924519000 +0800
+++ 0040-crypto-dpaa2_sec-fix-debug-prints.patch	2023-10-22 22:17:34.226723700 +0800
@@ -1 +1 @@
-From 3e52f9db64f8a6ac6aefe451243c63be5e5de401 Mon Sep 17 00:00:00 2001
+From 00819a704d7c7d207ac8c3ca270669b5f8f79db5 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 3e52f9db64f8a6ac6aefe451243c63be5e5de401 ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org
@@ -19 +21 @@
-index 5ccfcbd7a6..f9eba4a7bd 100644
+index c25e40030b..cf1339f266 100644
@@ -22 +24 @@
-@@ -1663,7 +1663,7 @@ dpaa2_sec_dump(struct rte_crypto_op *op)
+@@ -1676,7 +1676,7 @@ dpaa2_sec_dump(struct rte_crypto_op *op)
@@ -31 +33 @@
-@@ -1690,7 +1690,7 @@ dpaa2_sec_dump(struct rte_crypto_op *op)
+@@ -1703,7 +1703,7 @@ dpaa2_sec_dump(struct rte_crypto_op *op)


More information about the stable mailing list