From 6b5a857fb0b9985024f2523aa4572d7ce0c28779 Mon Sep 17 00:00:00 2001 From: Keith Wiles Date: Thu, 10 Sep 2015 14:40:50 -0500 Subject: [PATCH] eal: decrease log level of some debug messages 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 b6475737dd..6155752e91 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 72371b884c..c4227cd85d 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 4d29a0d7d9..fdfdeb4034 100644 --- a/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c +++ b/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c @@ -1070,7 +1070,7 @@ pci_vfio_enable(void) /* return 0 if VFIO modules not loaded */ if (vfio_available == 0) { - RTE_LOG(INFO, EAL, "VFIO modules not loaded, " + RTE_LOG(DEBUG, EAL, "VFIO modules not loaded, " "skipping VFIO support...\n"); return 0; } -- 2.20.1