From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddtjedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Jun 2022 05:12:44 -0400 (EDT) From: Thomas Monjalon To: Ashwin Sekhar T K 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 Applied, thanks.