From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 703F5A054A;
	Wed,  8 Jun 2022 11:12:51 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 2211440689;
	Wed,  8 Jun 2022 11:12:51 +0200 (CEST)
Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com
 [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id 14C514021D
 for <dev@dpdk.org>; Wed,  8 Jun 2022 11:12:49 +0200 (CEST)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.west.internal (Postfix) with ESMTP id D4BA83200B19;
 Wed,  8 Jun 2022 05:12:46 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute3.internal (MEProxy); Wed, 08 Jun 2022 05:12:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to; s=fm2; t=1654679566; x=
 1654765966; bh=gxspu3rG8jEMnIwgg6HY+GLW8xYw/jXyxVmqwxKk04U=; b=l
 4BT0wemSS3/aVrfMU9EySNY5rxtiPj53m3VbJs1yKUPWS8jqsaSE+nHr1u20vUrN
 R7r8IFkoiN7OQxAFINnWprp9V+kfU9LOmDl8SnJ+7oaD3rSX2cf1YGmEQnEyj+Lf
 Y0vFIUX0bYs0i3xCDfwbmhWj4CDGPup/UwKKbduJtxnKP5xJsrnloTnnFB82qxh/
 3IV7mG9MKixCQIkW0FBQdwhEAgVIBeBCmM2B0ibuMQv1j5CJB/2soOZEubY+SZis
 kcJnhy79OGSNcCFQpl/dxpb8yaC56z32ysqqO80BQdf9kKOJ9/dkH/zYu3+H1sfH
 h3OUISZkSLOvolgff4CHA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1654679566; x=
 1654765966; bh=gxspu3rG8jEMnIwgg6HY+GLW8xYw/jXyxVmqwxKk04U=; b=f
 +zYXiblIuLKp9UY8/pXfjA3GMfREebZUZjskOP0YUq4QN01TS54eTVcsg7N36eYz
 SJ56ghyW5v1OPAAn9VfxxLV342WFLMut5EBkOF8nhyL0cATiENZ1PWTWc82phgN9
 vqPTkrs4UXXC18DghlmWJx9TlRzkWkOUENt/63+y5WSlF7yxT531whiJEA9HunnL
 o2MBKmuurhCF1yqcmB4DQkz7qIS/MCiqz1uRLNIDfrTeoGikcq2VP58cgTy3V55V
 c0wmuGMFjCdYrY5YN4i3pe7hHTHe8ZQB7Ub1IBdzOv8uptMK7JpUuhQCHG6WvAPJ
 5EQlcGRfUk0YyCxMr32cw==
X-ME-Sender: <xms:DmigYv5J0-kf_GNHWQ_Aajw6ltRyWIubkR05vOpSyPRrsTguskZOSw>
 <xme:DmigYk7RjiW682n9M0A5Ea6saRARrn6wmTcAJfVPxaQ-a_9pCrvbsXBt3DRXHV4-2
 SrX6CVqdoDp40XcbA>
X-ME-Received: <xmr:DmigYmeKI93ZQF2R7meNDWtQ4xwQ4L7GomSZZS68Pw9UQX9wpfpTghKZm-sV4jIrcydDuJbbEtRkY-pmNhSgE_SpAQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddtjedgudduucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei
 kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh
 hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:DmigYgLkUUT3Ay3gWw_Err1nzoMUH6dnnqUdcBjodA8zptEbwm2ldg>
 <xmx:DmigYjKl09Nolz6RRs6pwRg8zkT-Tqov_j89P0kDyg53vh3cumGyYw>
 <xmx:DmigYpzehn5wnyoeHDH3T9-5ZS5YeVxC_Fy0y0nFSMLwI2uxuSOLJA>
 <xmx:DmigYlzQQcvB7szdVIiRVyc563IfejhLBwi1_g2KzDWjGxlx3DzOiA>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 8 Jun 2022 05:12:44 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Ashwin Sekhar T K <asekhar@marvell.com>
Cc: dev@dpdk.org, jerinj@marvell.com, skori@marvell.com, skoteshwar@marvell.com,
 pbhagavatula@marvell.com, kirankumark@marvell.com, psatheesh@marvell.com,
 asekhar@marvell.com, anoobj@marvell.com, gakhil@marvell.com,
 ndabilpuram@marvell.com, hkalra@marvell.com
Subject: Re: [PATCH] mempool/cnxk: avoid batch op free for empty mempools
Date: Wed, 08 Jun 2022 11:12:43 +0200
Message-ID: <2830061.e9J7NaK4W3@thomas>
In-Reply-To: <20220428095935.3612387-1-asekhar@marvell.com>
References: <20220428095935.3612387-1-asekhar@marvell.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

28/04/2022 11:59, Ashwin Sekhar T K:
> Batch op data is initialized inside mempool alloc. But
> in case of empty mempools, the alloc function is not
> called and hence the initialization of batch op data is
> also not done. So ensure the validity of batch op data
> inside mempool free.
> 
> Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com>

Applied, thanks.