From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from an.kaist.ac.kr (an.kaist.ac.kr [143.248.48.110]) by dpdk.org (Postfix) with ESMTP id 2FA5B5A41 for ; Wed, 13 May 2015 14:01:07 +0200 (CEST) Received: from mail-yh0-f45.google.com (mail-yh0-f45.google.com [209.85.213.45]) by an.kaist.ac.kr (Postfix) with ESMTPSA id A049B362028A for ; Wed, 13 May 2015 21:01:03 +0900 (KST) Received: by yhda23 with SMTP id a23so12758556yhd.2 for ; Wed, 13 May 2015 05:00:59 -0700 (PDT) X-Received: by 10.170.122.143 with SMTP id o137mr22436730ykb.68.1431518459941; Wed, 13 May 2015 05:00:59 -0700 (PDT) MIME-Version: 1.0 References: <2261724.ecphA4QphE@xps13> In-Reply-To: <2261724.ecphA4QphE@xps13> From: Joongi Kim Date: Wed, 13 May 2015 12:00:59 +0000 Message-ID: To: Thomas Monjalon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Too verbose PMD init logs - intended or not? 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: , X-List-Received-Date: Wed, 13 May 2015 12:01:08 -0000 Thanks for quick reply. I have been using the v2.0.0 release branch, and switching to the master eliminates the issue. - Joongi On Wed, May 13, 2015 at 6:14 PM Thomas Monjalon wrote: > Hi, > > 2015-05-13 08:47, Joongi Kim: > > Hello, > > I found that the following commit and post are conflicting with each > other: > > 1) > > > http://dpdk.org/browse/dpdk/commit/?id=23f91f32f2b119f1376488d87be2b80b078a945e > > 2) http://dpdk.org/ml/archives/dev/2015-April/016361.html > > Is there a consensus on how verbose PMD init processes should be? > > (i.e., Is this an intended behavior or a bug?) > > Yes, debug logs should use the debug level. Simple :) > > > I'd like to see if my ports are initialized, but not what memory > addresses > > they are attached for each ring. (Most of PMD init logs are only useful > > when debugging!) > > > > My configuration (.config) says CONFIG_RTE_LIBRTE_IXGBE_DEBUG_INIT=n and > my > > program explicitly set the debug level to INFO by calling > > rte_set_log_level(), but *still* the ixgbe pmd generates a lot of > > PMD_INIT_LOG(DEBUG, ...) messages. > > I guess you are not using the HEAD. > This commit should solve your problem: > http://dpdk.org/browse/dpdk/commit/?id=23e4bf20a16d34 > > > For workaround, I'm currently roll-backing the commit 23f91f3 manually > for > > my build and then it becomes silent. > > Please confirm it's fixed in HEAD. >