From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 7FD671B026 for ; Thu, 25 Jan 2018 10:01:33 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jan 2018 01:01:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,411,1511856000"; d="scan'208";a="25310929" Received: from silpixa00398672.ir.intel.com ([10.237.223.111]) by fmsmga001.fm.intel.com with ESMTP; 25 Jan 2018 01:01:29 -0800 From: Harry van Haaren To: dev@dpdk.org Cc: Harry van Haaren , santosh.shukla@caviumnetworks.com, jerin.jacob@caviumnetworks.com Date: Thu, 25 Jan 2018 09:00:55 +0000 Message-Id: <1516870870-168223-4-git-send-email-harry.van.haaren@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516870870-168223-1-git-send-email-harry.van.haaren@intel.com> References: <1516870870-168223-1-git-send-email-harry.van.haaren@intel.com> Subject: [dpdk-dev] [PATCH 03/18] octeontx: align dynamic log names with standard X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2018 09:01:34 -0000 This commit aligns the names for dynamic logging with the newly defined logging format. Signed-off-by: Harry van Haaren --- Maintainers: Cc: santosh.shukla@caviumnetworks.com Cc: jerin.jacob@caviumnetworks.com --- 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 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); } -- 2.7.4