From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id F00865680 for ; Wed, 13 May 2015 11:14:12 +0200 (CEST) Received: by wicmx19 with SMTP id mx19so5590405wic.0 for ; Wed, 13 May 2015 02:14:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=R6/Jskzl2ZJml9y6JSCuesFJ7lJScRAx33cMIJADiNk=; b=g4aDbmcLHrG8IUUKEAKn77xmaMNKn+ihL6RIcjC+6tctJbtV1l2X+lYAl3T4iSar0p Ak/DY7Pt1v4sdahfGWSswicfe8bOnAZmbcdSTQUj9G3LNnVB2FUMrvPNBeQoyufwYb0X 75IPz8ULDeEvgmlopuN0pDtt0TC7Rs4D6jrJPjTQFn6rFVzddEi820297hI+5tkd2QTY uRwRVCU/YnFIjEC3MSaywZ+2d7aIoKziWXVz81Nkp2ztrQxplJRAyrMXaBFkHu55kOIr QFGqVgbqSv4YR6SQGm/t+rTulOvD1PKwvOxrlduvdqXzD/Eff5II5W9is9EZaqXL9fNH gAJg== X-Gm-Message-State: ALoCoQmsD5rozuhPlKDcDXrTNfpflhE6GcrLhMULhuRneOEuA7iE1DEMDOzg+quBssEgLOyfpieF X-Received: by 10.194.122.105 with SMTP id lr9mr38880539wjb.153.1431508452798; Wed, 13 May 2015 02:14:12 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id ew15sm6713409wjd.17.2015.05.13.02.14.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 May 2015 02:14:12 -0700 (PDT) From: Thomas Monjalon To: Joongi Kim Date: Wed, 13 May 2015 11:13:29 +0200 Message-ID: <2261724.ecphA4QphE@xps13> Organization: 6WIND User-Agent: KMail/4.14.7 (Linux/4.0.1-1-ARCH; KDE/4.14.7; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 09:14:13 -0000 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.