From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Rybchenko Subject: Re: [PATCH v2] mempool: check for invalid args on creation Date: Thu, 2 Aug 2018 14:10:43 +0300 Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: To: Pablo de Lara , Return-path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id 5C8611B455 for ; Thu, 2 Aug 2018 13:10:55 +0200 (CEST) In-Reply-To: <20180802003504.30679-1-pablo.de.lara.guarch@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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