From 23edc362ff53b190b1a4ca0abf5619a5d45bac5a Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Wed, 11 Jul 2018 07:38:44 +0100 Subject: [PATCH] compress/isal: fix log type name There is a naming convention for logtypes of PMDs: "pmd.driverType.driverName". Therefore, the logtype for ISA-L PMD should be "pmd.compress.isal". Fixes: 490e725b95b2 ("compress/isal: add device init and de-init") Cc: stable@dpdk.org Signed-off-by: Pablo de Lara Acked-by: Lee Daly --- drivers/compress/isal/isal_compress_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/compress/isal/isal_compress_pmd.c b/drivers/compress/isal/isal_compress_pmd.c index be8b92f693..5966cc367d 100644 --- a/drivers/compress/isal/isal_compress_pmd.c +++ b/drivers/compress/isal/isal_compress_pmd.c @@ -494,7 +494,7 @@ RTE_PMD_REGISTER_PARAM_STRING(COMPDEV_NAME_ISAL_PMD, RTE_INIT(isal_init_log) { - isal_logtype_driver = rte_log_register("comp_isal"); + isal_logtype_driver = rte_log_register("pmd.compress.isal"); if (isal_logtype_driver >= 0) rte_log_set_level(isal_logtype_driver, RTE_LOG_INFO); } -- 2.20.1