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 B507B1B294 for ; Thu, 25 Jan 2018 10:01:57 +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:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,411,1511856000"; d="scan'208";a="25311006" Received: from silpixa00398672.ir.intel.com ([10.237.223.111]) by fmsmga001.fm.intel.com with ESMTP; 25 Jan 2018 01:01:48 -0800 From: Harry van Haaren To: dev@dpdk.org Cc: Harry van Haaren , jerin.jacob@caviumnetworks.com, maciej.czekaj@caviumnetworks.com Date: Thu, 25 Jan 2018 09:01:08 +0000 Message-Id: <1516870870-168223-17-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 16/18] net/thunderx: 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:58 -0000 This commit aligns the names for dynamic logging with the newly defined logging format. Note that the "nicvf" term has been replaced with "thunderx", as the naming scheme defines that a PMD name should be the same as the directory that it lives in: drivers/net/thunderx Signed-off-by: Harry van Haaren --- Maintainer: Cc: jerin.jacob@caviumnetworks.com Cc: maciej.czekaj@caviumnetworks.com --- drivers/net/thunderx/nicvf_ethdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/thunderx/nicvf_ethdev.c b/drivers/net/thunderx/nicvf_ethdev.c index d34938c..a65361f 100644 --- a/drivers/net/thunderx/nicvf_ethdev.c +++ b/drivers/net/thunderx/nicvf_ethdev.c @@ -56,15 +56,15 @@ RTE_INIT(nicvf_init_log); static void nicvf_init_log(void) { - nicvf_logtype_mbox = rte_log_register("pmd.nicvf.mbox"); + nicvf_logtype_mbox = rte_log_register("pmd.net.thunderx.mbox"); if (nicvf_logtype_mbox >= 0) rte_log_set_level(nicvf_logtype_mbox, RTE_LOG_NOTICE); - nicvf_logtype_init = rte_log_register("pmd.nicvf.init"); + nicvf_logtype_init = rte_log_register("pmd.net.thunderx.init"); if (nicvf_logtype_init >= 0) rte_log_set_level(nicvf_logtype_init, RTE_LOG_NOTICE); - nicvf_logtype_driver = rte_log_register("pmd.nicvf.driver"); + nicvf_logtype_driver = rte_log_register("pmd.net.thunderx.driver"); if (nicvf_logtype_driver >= 0) rte_log_set_level(nicvf_logtype_driver, RTE_LOG_NOTICE); } -- 2.7.4