patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH 1/2] crypto/dpaa2_sec: fix debug prints
@ 2023-09-13 14:01 David Marchand
  2023-09-13 14:01 ` [PATCH 2/2] crypto/dpaa_sec: " David Marchand
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Marchand @ 2023-09-13 14:01 UTC (permalink / raw)
  To: dev; +Cc: stable, Gagandeep Singh, Hemant Agrawal

RTE_LIBRTE_SECURITY has been replaced with RTE_LIB_SECURITY for a
while now.

Fixes: 84bb24bd058c ("crypto/dpaa2_sec: add debug prints")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.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 5ccfcbd7a6..f9eba4a7bd 100644
--- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
+++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
@@ -1663,7 +1663,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
@@ -1690,7 +1690,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.41.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] crypto/dpaa_sec: fix debug prints
  2023-09-13 14:01 [PATCH 1/2] crypto/dpaa2_sec: fix debug prints David Marchand
@ 2023-09-13 14:01 ` David Marchand
  2023-09-16 10:07 ` [PATCH 1/2] crypto/dpaa2_sec: " Hemant Agrawal
  2023-09-19  5:56 ` [EXT] " Akhil Goyal
  2 siblings, 0 replies; 4+ messages in thread
From: David Marchand @ 2023-09-13 14:01 UTC (permalink / raw)
  To: dev; +Cc: stable, Gagandeep Singh, Hemant Agrawal

RTE_LIBRTE_SECURITY has been replaced with RTE_LIB_SECURITY for a
while now.

Fixes: b1bbf222bef1 ("crypto/dpaa_sec: add debug prints")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/crypto/dpaa_sec/dpaa_sec.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c
index 7d47c32693..f3f565826f 100644
--- a/drivers/crypto/dpaa_sec/dpaa_sec.c
+++ b/drivers/crypto/dpaa_sec/dpaa_sec.c
@@ -666,7 +666,7 @@ dpaa_sec_dump(struct dpaa_sec_op_ctx *ctx, struct dpaa_sec_qp *qp)
 
 	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
@@ -677,7 +677,7 @@ dpaa_sec_dump(struct dpaa_sec_op_ctx *ctx, struct dpaa_sec_qp *qp)
 
 	cdb = &sess->cdb;
 	rte_memcpy(&c_cdb, cdb, sizeof(struct sec_cdb));
-#ifdef RTE_LIBRTE_SECURITY
+#ifdef RTE_LIB_SECURITY
 	printf("\nsession protocol type = %d\n", sess->proto_alg);
 #endif
 	printf("\n****************************************\n"
@@ -702,7 +702,7 @@ dpaa_sec_dump(struct dpaa_sec_op_ctx *ctx, struct dpaa_sec_qp *qp)
 		sess->iv.length, sess->iv.offset,
 		sess->digest_length, sess->auth_only_len,
 		sess->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\tsdap_enabled:\t%d\n\thfn_ovd_offset:"
-- 
2.41.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH 1/2] crypto/dpaa2_sec: fix debug prints
  2023-09-13 14:01 [PATCH 1/2] crypto/dpaa2_sec: fix debug prints David Marchand
  2023-09-13 14:01 ` [PATCH 2/2] crypto/dpaa_sec: " David Marchand
@ 2023-09-16 10:07 ` Hemant Agrawal
  2023-09-19  5:56 ` [EXT] " Akhil Goyal
  2 siblings, 0 replies; 4+ messages in thread
From: Hemant Agrawal @ 2023-09-16 10:07 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: stable, Gagandeep Singh

Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [EXT] [PATCH 1/2] crypto/dpaa2_sec: fix debug prints
  2023-09-13 14:01 [PATCH 1/2] crypto/dpaa2_sec: fix debug prints David Marchand
  2023-09-13 14:01 ` [PATCH 2/2] crypto/dpaa_sec: " David Marchand
  2023-09-16 10:07 ` [PATCH 1/2] crypto/dpaa2_sec: " Hemant Agrawal
@ 2023-09-19  5:56 ` Akhil Goyal
  2 siblings, 0 replies; 4+ messages in thread
From: Akhil Goyal @ 2023-09-19  5:56 UTC (permalink / raw)
  To: David Marchand, dev; +Cc: stable, Gagandeep Singh, Hemant Agrawal

> RTE_LIBRTE_SECURITY has been replaced with RTE_LIB_SECURITY for a
> while now.
> 
> Fixes: 84bb24bd058c ("crypto/dpaa2_sec: add debug prints")
> Cc: stable@dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>
Series applied to dpdk-next-crypto

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-19  5:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-13 14:01 [PATCH 1/2] crypto/dpaa2_sec: fix debug prints David Marchand
2023-09-13 14:01 ` [PATCH 2/2] crypto/dpaa_sec: " David Marchand
2023-09-16 10:07 ` [PATCH 1/2] crypto/dpaa2_sec: " Hemant Agrawal
2023-09-19  5:56 ` [EXT] " Akhil Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).