On 2024/2/3 12:11 PM, Stephen Hemminger wrote:
Driver already has logging macros, just not used in one place.
Fixes: 169ca3db550c ("crypto/armv8: add PMD optimized for ARMv8 processors")
Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
drivers/crypto/armv8/rte_armv8_pmd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/armv8/rte_armv8_pmd.c
b/drivers/crypto/armv8/rte_armv8_pmd.c
index 824a2cc7352a..026cdf5105dd 100644
--- a/drivers/crypto/armv8/rte_armv8_pmd.c
+++ b/drivers/crypto/armv8/rte_armv8_pmd.c
@@ -833,8 +833,8 @@ cryptodev_armv8_crypto_uninit(struct rte_vdev_device *vdev)
if (name == NULL)
return -EINVAL;
- RTE_LOG(INFO, PMD,
- "Closing ARMv8 crypto device %s on numa socket %u\n",
+ ARVM8_CRYPTO_LOG_INFO(
Typo to fix. It is ARMV8_CRYPTO_LOG_INFO.
+ "Closing ARMv8 crypto device %s on numa socket %u",
name, rte_socket_id());
cryptodev = rte_cryptodev_pmd_get_named_dev(name);