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

index a2fb93c..4e68aae 100644 (file)
@@ -1352,10 +1352,10 @@ RTE_INIT(vmxnet3_init_log);
 static void
 vmxnet3_init_log(void)
 {
-       vmxnet3_logtype_init = rte_log_register("pmd.vmxnet3.init");
+       vmxnet3_logtype_init = rte_log_register("pmd.net.vmxnet3.init");
        if (vmxnet3_logtype_init >= 0)
                rte_log_set_level(vmxnet3_logtype_init, RTE_LOG_NOTICE);
-       vmxnet3_logtype_driver = rte_log_register("pmd.vmxnet3.driver");
+       vmxnet3_logtype_driver = rte_log_register("pmd.net.vmxnet3.driver");
        if (vmxnet3_logtype_driver >= 0)
                rte_log_set_level(vmxnet3_logtype_driver, RTE_LOG_NOTICE);
 }