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 89ED11B5F4 for ; Sun, 5 Aug 2018 15:35:36 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BE7E420E73; Sun, 5 Aug 2018 09:35:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 05 Aug 2018 09:35:35 -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; s=mesmtp; bh=uH5X5lnWNZwhkoGA7xm5ixirq8 PgPNY0razesFsqauA=; b=f6vp7HUjdbNMQzkT3Wd0vC0kUk4WYFrem7GBO/B9dh PYefakeGvwwzoaayEGwpZnepyJrOOR8Wo9JWeFbb03Ku7OoRHcBful5ib9EVQGER CcPBAnULIMmIaHDH32u/ZHyLYCo9BxlgHa615y0iHOAsONc8I4x3W3CTfdM1LfPw 4= 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; s=fm3; bh=uH5X5l nWNZwhkoGA7xm5ixirq8PgPNY0razesFsqauA=; b=dN9knuzHGQhr3P10ZYAXim x8I2NQjqw4xASYmADpns18AzHiaBJ3xNyDPM9EdhkMsi4kyYMmlVHi21974/hVAq vCrErBaADmn5TG/Ld65onbFgH8rHeq+c4Y3OlWXRS9rDtLay8eUfjghYw2zutYSi cbiCrygx4gLxBwegYynQ0yGTD1/9yraw8h2Ig9uZ8A6AXzz4TdMJiX1Qmk6dOHfr ieEfg4cfZwv+LQucdq6lu4GRLPFcWffMReU6pnuGh7ofljVkL7U2WPkrP4MXVLco uWXUwdi/kd+2VyizGUw1uaaIZwLIkyeORIdYsVhVybLkqneK93aF0wgNiHxkulUA == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (221.87.136.77.rev.sfr.net [77.136.87.221]) by mail.messagingengine.com (Postfix) with ESMTPA id 62C671025C; Sun, 5 Aug 2018 09:35:32 -0400 (EDT) From: Thomas Monjalon To: Pablo de Lara Cc: dev@dpdk.org, Andrew Rybchenko , olivier.matz@6wind.com Date: Sun, 05 Aug 2018 15:35:27 +0200 Message-ID: <1922486.QhLn3M4YSt@xps> In-Reply-To: <33a1d258-7331-e7b1-3694-e784d46006b9@solarflare.com> References: <20180717103720.26783-1-pablo.de.lara.guarch@intel.com> <20180802003504.30679-1-pablo.de.lara.guarch@intel.com> <33a1d258-7331-e7b1-3694-e784d46006b9@solarflare.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] mempool: check for invalid args on creation 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: Sun, 05 Aug 2018 13:35:36 -0000 02/08/2018 13:10, Andrew Rybchenko: > On 02.08.2018 03:35, Pablo de Lara wrote: > > Currently, a mempool can be created if the number of > > objects is zero. However, in this scenario, > > rte_mempool_create should return NULL, > > as the mempool created is useless otherwise. > > > > Signed-off-by: Pablo de Lara > > Acked-by: Andrew Rybchenko Applied, thanks