From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/testpmd: log mbuf pool creation Date: Wed, 08 Jun 2016 17:21:13 +0200 Message-ID: <2485774.QisyNtijDZ@xps13> References: <1464609857-30162-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "De Lara Guarch, Pablo" To: Olivier Matz 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) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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