net/fm10k: align dynamic log names with standard
authorHarry van Haaren <harry.van.haaren@intel.com>
Thu, 25 Jan 2018 09:01:02 +0000 (09:01 +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/net/fm10k/fm10k_ethdev.c

index 340f604..9423761 100644 (file)
@@ -3241,10 +3241,10 @@ RTE_INIT(fm10k_init_log);
 static void
 fm10k_init_log(void)
 {
-       fm10k_logtype_init = rte_log_register("pmd.fm10k.init");
+       fm10k_logtype_init = rte_log_register("pmd.net.fm10k.init");
        if (fm10k_logtype_init >= 0)
                rte_log_set_level(fm10k_logtype_init, RTE_LOG_NOTICE);
-       fm10k_logtype_driver = rte_log_register("pmd.fm10k.driver");
+       fm10k_logtype_driver = rte_log_register("pmd.net.fm10k.driver");
        if (fm10k_logtype_driver >= 0)
                rte_log_set_level(fm10k_logtype_driver, RTE_LOG_NOTICE);
 }