From 1a0eab3a540ea3b9e45198c264570f282da69b8d Mon Sep 17 00:00:00 2001 From: Harry van Haaren Date: Thu, 25 Jan 2018 09:00:55 +0000 Subject: [PATCH] drivers/octeontx: align dynamic log names with standard This commit aligns the names for dynamic logging with the newly defined logging format. Signed-off-by: Harry van Haaren Acked-by: Jerin Jacob Acked-by: Santosh Shukla Acked-by: Bruce Richardson --- drivers/event/octeontx/ssovf_evdev.c | 2 +- drivers/mempool/octeontx/octeontx_fpavf.c | 4 ++-- drivers/net/octeontx/octeontx_ethdev.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/event/octeontx/ssovf_evdev.c b/drivers/event/octeontx/ssovf_evdev.c index edac6d4f6d..a1086077de 100644 --- a/drivers/event/octeontx/ssovf_evdev.c +++ b/drivers/event/octeontx/ssovf_evdev.c @@ -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); } diff --git a/drivers/mempool/octeontx/octeontx_fpavf.c b/drivers/mempool/octeontx/octeontx_fpavf.c index 23e2b9d6f7..61c72c7c81 100644 --- a/drivers/mempool/octeontx/octeontx_fpavf.c +++ b/drivers/mempool/octeontx/octeontx_fpavf.c @@ -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); } diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/octeontx_ethdev.c index adca3435e4..06aa0a2c96 100644 --- a/drivers/net/octeontx/octeontx_ethdev.c +++ b/drivers/net/octeontx/octeontx_ethdev.c @@ -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); } -- 2.20.1