drivers/bbdev: align dynamic log names with standard
authorHarry van Haaren <harry.van.haaren@intel.com>
Thu, 25 Jan 2018 09:00:56 +0000 (09:00 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 31 Jan 2018 08:28:06 +0000 (09:28 +0100)
This commit aligns the names for dynamic logging with
the newly defined logging format.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/bbdev/null/bbdev_null.c
drivers/bbdev/turbo_sw/bbdev_turbo_software.c

index b23d766..1a66de1 100644 (file)
@@ -340,7 +340,7 @@ RTE_INIT(null_bbdev_init_log);
 static void
 null_bbdev_init_log(void)
 {
-       bbdev_logtype = rte_log_register("pmd.bbdev.null");
+       bbdev_logtype = rte_log_register("pmd.bb.null");
        if (bbdev_logtype >= 0)
                rte_log_set_level(bbdev_logtype, RTE_LOG_NOTICE);
 }
index 981da6e..33f7135 100644 (file)
@@ -1200,7 +1200,7 @@ RTE_INIT(null_bbdev_init_log);
 static void
 null_bbdev_init_log(void)
 {
-       bbdev_logtype = rte_log_register("pmd.bbdev.turbo_sw");
+       bbdev_logtype = rte_log_register("pmd.bb.turbo_sw");
        if (bbdev_logtype >= 0)
                rte_log_set_level(bbdev_logtype, RTE_LOG_NOTICE);
 }