From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 5537FADEA for ; Wed, 8 Jun 2016 17:21:15 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id v199so69009342wmv.0 for ; Wed, 08 Jun 2016 08:21:15 -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=CXcfDikKhDERfy/bxMJM1cUo4xYuhWmSZ36SUgnb1JY=; b=BidxvZMKAyUukWtww7kTCfGBgeBLSyzc/SYc7X9CJ2dojBTeuI9Ms+wTdRNbx2kvYq G6aqjnFxNSfEMLWOzfLBFAkF8xC/ajK0XUHN8as0r36+NbdCqUj+JJX2/cP3V9uBrW8m 7/CtsiFfWkHPwibo/ElTPXPW2KXFMWXMMVAB99voa63q/FPw7wwCKk79K7SvRKf0JrOc jHT1rFKXX5dD7AgWPg/iSQBpqCGiHv/Z66U9ZgE9L1Z/+nNl+MZgAfvQhTlBICBqz7ub LxgyWAAjXjVEBAwplYGJorSvY3+WDLIbcvvpR0roT18dgsxMWXVT4SI2pyvFjKnTXT3u 30lg== 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=CXcfDikKhDERfy/bxMJM1cUo4xYuhWmSZ36SUgnb1JY=; b=QWNG+o4f+K/nX48etaZpyUVVZmioDMT2cVDXkJHpmvMFDrCapWESmi3kMXqKhv9CRE l/ifyO8Lx2lYtX/OXM5/gqbEP8yCuNl69DLSJ4NzuqBkqUnY931TzUaTloS3RMELBio0 jqWZv0OYXFtTOlli2tKBZISkCb/J+2S8OyGp3n/sZlNB2NRYG9gMBE13zg9/u1q6KKtc MUD3U7aImGeAbiD/RGCApSJ1Gsrj1O8zX0QSeNO3QoX0cnY7GaW01nRwRnzRPYOOXNQf 9PpGnUJMcW8UHTKR6ubURXnDCaGK7erLBC8iPGWqg89ucVwXXJOB/4tII+b+hJdAaDEa rwcw== X-Gm-Message-State: ALyK8tK61sWR+6d3cFVKGQvXcATOn7dpv6k4HAmx+scU7qwlBPdd3z2E77/ihUStLzAZkQrr X-Received: by 10.28.173.66 with SMTP id w63mr5849059wme.14.1465399275116; Wed, 08 Jun 2016 08:21:15 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id b1sm2038050wjq.25.2016.06.08.08.21.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Jun 2016 08:21:14 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org, "De Lara Guarch, Pablo" Date: Wed, 08 Jun 2016 17:21:13 +0200 Message-ID: <2485774.QisyNtijDZ@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: 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: Wed, 08 Jun 2016 15:21:15 -0000 2016-06-02 14:49, De Lara Guarch, Pablo: > From: Olivier Matz [mailto:olivier.matz@6wind.com] > > 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 > > > > Signed-off-by: Olivier Matz > > Acked-by: Pablo de Lara Applied, thanks