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

index 277c1a8..33cdf0c 100644 (file)
@@ -11725,10 +11725,10 @@ RTE_INIT(i40e_init_log);
 static void
 i40e_init_log(void)
 {
-       i40e_logtype_init = rte_log_register("pmd.i40e.init");
+       i40e_logtype_init = rte_log_register("pmd.net.i40e.init");
        if (i40e_logtype_init >= 0)
                rte_log_set_level(i40e_logtype_init, RTE_LOG_NOTICE);
-       i40e_logtype_driver = rte_log_register("pmd.i40e.driver");
+       i40e_logtype_driver = rte_log_register("pmd.net.i40e.driver");
        if (i40e_logtype_driver >= 0)
                rte_log_set_level(i40e_logtype_driver, RTE_LOG_NOTICE);
 }