drivers/octeontx: align dynamic log names with standard
authorHarry van Haaren <harry.van.haaren@intel.com>
Thu, 25 Jan 2018 09:00:55 +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: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/event/octeontx/ssovf_evdev.c
drivers/mempool/octeontx/octeontx_fpavf.c
drivers/net/octeontx/octeontx_ethdev.c

index edac6d4..a108607 100644 (file)
@@ -25,7 +25,7 @@ RTE_INIT(otx_ssovf_init_log);
 static void
 otx_ssovf_init_log(void)
 {
-       otx_logtype_ssovf = rte_log_register("pmd.otx.eventdev");
+       otx_logtype_ssovf = rte_log_register("pmd.event.octeontx");
        if (otx_logtype_ssovf >= 0)
                rte_log_set_level(otx_logtype_ssovf, RTE_LOG_NOTICE);
 }
index 23e2b9d..61c72c7 100644 (file)
@@ -112,11 +112,11 @@ RTE_INIT(otx_pool_init_log);
 static void
 otx_pool_init_log(void)
 {
-       octeontx_logtype_fpavf = rte_log_register("pmd.otx.mempool");
+       octeontx_logtype_fpavf = rte_log_register("pmd.mempool.octeontx");
        if (octeontx_logtype_fpavf >= 0)
                rte_log_set_level(octeontx_logtype_fpavf, RTE_LOG_NOTICE);
 
-       octeontx_logtype_fpavf_mbox = rte_log_register("pmd.otx.mempool.mbox");
+       octeontx_logtype_fpavf_mbox = rte_log_register("pmd.mempool.octeontx.mbox");
        if (octeontx_logtype_fpavf_mbox >= 0)
                rte_log_set_level(octeontx_logtype_fpavf_mbox, RTE_LOG_NOTICE);
 }
index adca343..06aa0a2 100644 (file)
@@ -49,15 +49,15 @@ RTE_INIT(otx_net_init_log);
 static void
 otx_net_init_log(void)
 {
-       otx_net_logtype_mbox = rte_log_register("pmd.otx.ethdev.mbox");
+       otx_net_logtype_mbox = rte_log_register("pmd.net.octeontx.mbox");
        if (otx_net_logtype_mbox >= 0)
                rte_log_set_level(otx_net_logtype_mbox, RTE_LOG_NOTICE);
 
-       otx_net_logtype_init = rte_log_register("pmd.otx.ethdev.init");
+       otx_net_logtype_init = rte_log_register("pmd.net.octeontx.init");
        if (otx_net_logtype_init >= 0)
                rte_log_set_level(otx_net_logtype_init, RTE_LOG_NOTICE);
 
-       otx_net_logtype_driver = rte_log_register("pmd.otx.ethdev.driver");
+       otx_net_logtype_driver = rte_log_register("pmd.net.octeontx.driver");
        if (otx_net_logtype_driver >= 0)
                rte_log_set_level(otx_net_logtype_driver, RTE_LOG_NOTICE);
 }