[1/2] crypto/dpaa2_sec: fix debug prints
Checks
Commit Message
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(-)
Comments
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
> 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.
@@ -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"