From patchwork Thu Sep 10 19:40:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wiles, Keith" X-Patchwork-Id: 7010 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 7E1555683; Thu, 10 Sep 2015 21:40:58 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 3756A3777 for ; Thu, 10 Sep 2015 21:40:57 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 10 Sep 2015 12:40:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,506,1437462000"; d="scan'208";a="766513324" Received: from mbtse-mobl6.amr.corp.intel.com ([10.255.85.101]) by orsmga001.jf.intel.com with ESMTP; 10 Sep 2015 12:40:56 -0700 From: Keith Wiles To: dev@dpdk.org Date: Thu, 10 Sep 2015 14:40:50 -0500 Message-Id: <1441914050-43168-1-git-send-email-keith.wiles@intel.com> X-Mailer: git-send-email 2.3.0 Subject: [dpdk-dev] [PATCH] eal:Change log output to DEBUG instead of INFO X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" When log level is set to 7 (INFO) these messages are still displayed and should be set to DEBUG. Signed-off-by: Keith Wiles --- lib/librte_eal/common/eal_common_memory.c | 2 +- lib/librte_eal/common/eal_common_timer.c | 2 +- lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/common/eal_common_memory.c b/lib/librte_eal/common/eal_common_memory.c index b647573..6155752 100644 --- a/lib/librte_eal/common/eal_common_memory.c +++ b/lib/librte_eal/common/eal_common_memory.c @@ -139,7 +139,7 @@ rte_eal_memdevice_init(void) int rte_eal_memory_init(void) { - RTE_LOG(INFO, EAL, "Setting up physically contiguous memory...\n"); + RTE_LOG(DEBUG, EAL, "Setting up physically contiguous memory...\n"); const int retval = rte_eal_process_type() == RTE_PROC_PRIMARY ? rte_eal_hugepage_init() : diff --git a/lib/librte_eal/common/eal_common_timer.c b/lib/librte_eal/common/eal_common_timer.c index 72371b8..c4227cd 100644 --- a/lib/librte_eal/common/eal_common_timer.c +++ b/lib/librte_eal/common/eal_common_timer.c @@ -81,6 +81,6 @@ set_tsc_freq(void) if (!freq) freq = estimate_tsc_freq(); - RTE_LOG(INFO, EAL, "TSC frequency is ~%" PRIu64 " KHz\n", freq / 1000); + RTE_LOG(DEBUG, EAL, "TSC frequency is ~%" PRIu64 " KHz\n", freq / 1000); eal_tsc_resolution_hz = freq; } diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c b/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c index 0e6c48a..e0c13de 100644 --- a/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c +++ b/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c @@ -904,7 +904,7 @@ pci_vfio_enable(void) /* return 0 if VFIO modules not loaded */ if (module_vfio_type1 == 0) { - RTE_LOG(INFO, EAL, "VFIO modules not all loaded, " + RTE_LOG(DEBUG, EAL, "VFIO modules not all loaded, " "skip VFIO support...\n"); return 0; }