compress/isal: fix log type name
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 11 Jul 2018 06:38:44 +0000 (07:38 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Jul 2018 23:48:10 +0000 (01:48 +0200)
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 <pablo.de.lara.guarch@intel.com>
Acked-by: Lee Daly <lee.daly@intel.com>
drivers/compress/isal/isal_compress_pmd.c

index be8b92f..5966cc3 100644 (file)
@@ -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);
 }