From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 866111C52 for ; Mon, 30 May 2016 21:44:45 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id z87so17843837wmh.1 for ; Mon, 30 May 2016 12:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=N5wKaS7iyCM0Wcvk1/15Yp7NXjyFRfiXNqKMmsrj9Vo=; b=lN26vG1URVu5rniTEjTK0bRX7hXi0xAy7RTiDkqlwkqPkGEOEyGJZJz5gOKbC0U6P3 w9we2bzMQ22mWWZ+tvnb3JQPB03iZrXod5DC7jbTyXAvDBVGQuc079K55ljxBgIOmsCm tsoZjU3g3F5YQTb+7a/jritAJhpHEuySMD4c3/AYjptR1ZAK1tB8EwWQFph3NDhyir/J 7iBpJ4r5QtmCOTznvu3JrzddkwmRObTt3TXOZRrh93+373UL571k5FsxoRONZRSsOlIw UoDhJESyY+SWlxS7LgN20iztfYOQDXX+pkDCx0uxCeNeXlSsAVJXGiqcfUX3bTtfZZX4 QJzQ== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=N5wKaS7iyCM0Wcvk1/15Yp7NXjyFRfiXNqKMmsrj9Vo=; b=HyNRvveLQ3pxRRVFL0YFgJWR/5JMYSOT/GoKmDoTOFmwr3dBUUAaAICLI4Y5c/Anoh m9mOmhwkDLqJV0/OHcl4qBoZn+Estt/zji1stkS1WUb/MG9ReTci2+qI6gXZOHStAlZu X5NYDWcqjY6iILb8OXEGINPY3/Yjx6W0FFgJEDDKK8/SqgLLV4sXJRVrmlCSeZ09WzCL 44bHqlcpRHiBE6q3n0sxoIeAcF0DtFb7tKGSC1SOQrKuIx87GM98z4Sj36GbwX7xZQDx YBFfbUPjrCjmG4bNzMpq61yHf0cKVAwHmpxpe39jrcoBFuhyiVjFJgg5dBEXYjQy+HH7 iQbg== X-Gm-Message-State: ALyK8tKLh6lNeZhrq/pAHwDYhAxUcBxwD2f+Llj+06Vhf73+2aHaHyaDp+gfhFTRXhNTH5/g X-Received: by 10.194.153.65 with SMTP id ve1mr28107365wjb.106.1464637485286; Mon, 30 May 2016 12:44:45 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id v5sm19336371wjv.36.2016.05.30.12.44.44 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 May 2016 12:44:44 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org, pablo.de.lara.guarch@intel.com Date: Mon, 30 May 2016 21:44:43 +0200 Message-ID: <2644423.ubxL6r272Z@xps13> User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1464609857-30162-1-git-send-email-olivier.matz@6wind.com> References: <1464609857-30162-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/testpmd: log mbuf pool creation 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: Mon, 30 May 2016 19:44:45 -0000 2016-05-30 14:04, Olivier Matz: > Enhance the logs related to mbuf pool creation. Display an info level > log when creating the mbuf, and display the error as a string on failure. > > After the patch, we have: > > [...] > EAL: probe driver: 8086:10fb rte_ixgbe_pmd > USER1: create a new mbuf pool : n=331456, \ > size=2176, socket=0 > EAL: Error - exiting with code: 1 > Cause: Creation of mbuf pool for socket 0 failed: Cannot allocate \ > memory Yes printing the error reason is a good improvement. But why the previous line is at INFO level? It looks to be a debug.