From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 2C9072C50; Fri, 21 Jul 2017 08:29:41 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B60D120B05; Fri, 21 Jul 2017 02:29:40 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 21 Jul 2017 02:29:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=/CtDmOAeXU/b+TL TXpFdjyOF/dlGNmnI6L4GDTuNvSw=; b=mb6bMB5sxNDJwFVjQAD2uQq8EBmYLSN kmSbEX/D+og/Nd6/8xtZlDS7QF3KMM2F4xYh18CwZ6wkXzYdHvPTtduU6GM0m646 Sxxh6/X0zxE7/mMUKw6LSjHmzZyoLnim5q0AnedezeXndkIIwpxVR/rMeaYhjlbe WsRFlsXnrdPY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=/CtDmOAeXU/b+TLTXpFdjyOF/dlGNmnI6L4GDTuNvSw=; b=D3vF54WP sZGIKVOW8UB8xhpEx5cI1V58a4P6JpGczpFL8jZGlO2jZaIGc6h0vaL4RyJ7xT6v tiwgghWELATE6WRkwehAaBRfqYPQ5Yx9cCUWl0Wb3gPoNeymCBXHeMtWS7G4IyaH N9Uk0NDZ5d95jPmqbYJgGPurxeXwh/GkV4bf+P5uZXwAUYo7n/WBl0y4lQLo5t8B xepZ4gOipn0kSHhG4UgRSBxGbEgDeyn8qcb36lv3fT2m647ni3Se0OtMyA7FxCNn v9qOLZN0xvCQGC3nl9JtBUa6PPzCQ1k1pzuGMZbUsz8SJaZZW0kWF/YuTgWQz38L Gr/hGGuO/o0DgA== X-ME-Sender: X-Sasl-enc: pcJYoUM6ClzCQ4TCRxbLCmlX/qZEhX9D55Li6GfUYVPs 1500618580 Received: from xps.localnet (unknown [37.169.141.147]) by mail.messagingengine.com (Postfix) with ESMTPA id 2787E7E43A; Fri, 21 Jul 2017 02:29:40 -0400 (EDT) From: Thomas Monjalon To: Hemant Agrawal Cc: stable@dpdk.org, Shreyansh Jain , olivier.matz@6wind.com, dev@dpdk.org Date: Fri, 21 Jul 2017 09:29:32 +0300 Message-ID: <1777391.uy2g6WzqRN@xps> In-Reply-To: <05874f60-e427-b9e3-93da-a78e0b03d284@nxp.com> References: <1495532028-9700-1-git-send-email-hemant.agrawal@nxp.com> <1498135688-3853-1-git-send-email-hemant.agrawal@nxp.com> <05874f60-e427-b9e3-93da-a78e0b03d284@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2 1/2] mempool/dpaa2: fix the return value for alloc fail X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2017 06:29:41 -0000 18/07/2017 17:47, Shreyansh Jain: > On Thursday 22 June 2017 06:18 PM, Hemant Agrawal wrote: > > In case the alloc api is not able to allocate the required > > number of buffer, it can return '0', which will not indicate > > the failure to the calling function. > > This patch fix the return value to indicate the failure. > > > > Fixes: 5dc43d22b5ad ("mempool/dpaa2: add hardware offloaded mempool") > > CC: stable@dpdk.org > > > > Signed-off-by: Hemant Agrawal > > Acked-by: Shreyansh Jain Series applied, thanks