summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry van Haaren <harry.van.haaren@intel.com>2018-01-25 09:00:55 +0000
committerThomas Monjalon <thomas@monjalon.net>2018-01-31 09:28:06 +0100
commit1a0eab3a540ea3b9e45198c264570f282da69b8d (patch)
tree925dff95021726d300a20ad79dc00281c23beeb6
parente7b8f15bed077af40b0804202c665582fa4943fb (diff)
downloaddpdk-1a0eab3a540ea3b9e45198c264570f282da69b8d.zip
dpdk-1a0eab3a540ea3b9e45198c264570f282da69b8d.tar.gz
dpdk-1a0eab3a540ea3b9e45198c264570f282da69b8d.tar.xz
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 <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>
-rw-r--r--drivers/event/octeontx/ssovf_evdev.c2
-rw-r--r--drivers/mempool/octeontx/octeontx_fpavf.c4
-rw-r--r--drivers/net/octeontx/octeontx_ethdev.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/event/octeontx/ssovf_evdev.c b/drivers/event/octeontx/ssovf_evdev.c
index edac6d4..a108607 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 23e2b9d..61c72c7 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 adca343..06aa0a2 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);
}