net/avp: align dynamic log names with standard
authorHarry van Haaren <harry.van.haaren@intel.com>
Thu, 25 Jan 2018 09:00:58 +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: Allain Legacy <allain.legacy@windriver.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/avp/avp_ethdev.c

index e4ad7b0..dba9912 100644 (file)
@@ -2318,7 +2318,7 @@ RTE_INIT(avp_init_log);
 static void
 avp_init_log(void)
 {
-       avp_logtype_driver = rte_log_register("pmd.avp.driver");
+       avp_logtype_driver = rte_log_register("pmd.net.avp.driver");
        if (avp_logtype_driver >= 0)
                rte_log_set_level(avp_logtype_driver, RTE_LOG_NOTICE);
 }