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 0B6E7A0547; Tue, 15 Nov 2022 04:24:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E31F840DFD; Tue, 15 Nov 2022 04:24:40 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 28C9F40150; Tue, 15 Nov 2022 04:24:39 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A031D5C0229; Mon, 14 Nov 2022 22:24:38 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 14 Nov 2022 22:24:38 -0500 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=fm1; t=1668482678; x= 1668569078; bh=D31vDQ4Fu9GXdgm/kvaL7W1QniepGvY6bRrlES0N/Rc=; b=q ISHvC9yUKo1rSseOOJMJj9LNHUSx8OQRzJvSdyM14EEFo5gKUU0Pm402eZw0BfKM gEFNH+uPzV+YZbVdXk8vsP4YfsEfD9g0WaC/qU57XElF9CiYu1OJrBuCwtxCCiKB WAZwL0FVIqCR+SAoii8/uWljoOQHZ/4HLfH4fxHhy52pGOU7gNdLOde0/QztUxqN CsUBTebcFfe/dRpm3VL2ioe+OYeRtEfs8/OHda9FQs22tTlJ40MkiQWj7ie7pgfF A2YHOl5vSfmkUYdx9iefU9ZjiVxsUogj1a8/yhw1CU+YgO708JTHH7H+LSL041aW ul2TTJRoZPmiQRy3lB/3A== 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=fm1; t=1668482678; x= 1668569078; bh=D31vDQ4Fu9GXdgm/kvaL7W1QniepGvY6bRrlES0N/Rc=; b=J zhOQeX1q2WYY06jfUQf3htcakGd+Uwegf1VaQ49d3N6yzfIOaauZAE1CwrS9W9a6 jFvfufFeJE6ky7dyBHNb3e2CWAX/RelMwkX6h4fG6LuMALasrR8waoUqcl7lg6nJ qRRib3cH3TlRDlFEShwtUJEOg+HiXnIEW2ELHXaRAm58UZNcaGqkRSKCJMQ/2vId +c2WW1iRvT7wVmgweFYZ6qjHohFxCGYClbolkjl5C1rAmPgmsqwDDNp4M8AC8pCi dMz2/wSN9n2fkD7wenqa3KhPJPaKGywh855q8RX/ZncJWfBUyqpjzfL2FbpBeA1F MdGHiII2BweCUwSEvwSNw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgeefgdehlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddtieek gfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Nov 2022 22:24:36 -0500 (EST) From: Thomas Monjalon To: Ashwin Sekhar T K Cc: dev@dpdk.org, Pavan Nikhilesh , jerinj@marvell.com, skori@marvell.com, skoteshwar@marvell.com, kirankumark@marvell.com, psatheesh@marvell.com, anoobj@marvell.com, gakhil@marvell.com, hkalra@marvell.com, ndabilpuram@marvell.com, stable@dpdk.org Subject: Re: [PATCH v3] mempool/cnxk: fix mempool destroy for empty pools Date: Tue, 15 Nov 2022 04:24:34 +0100 Message-ID: <2728637.BEx9A2HvPv@thomas> In-Reply-To: <20221108065558.2092290-1-asekhar@marvell.com> References: <20221108061853.2091476-1-asekhar@marvell.com> <20221108065558.2092290-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 08/11/2022 07:55, Ashwin Sekhar T K: > In scenarios where rte_mempool_free() is called immediately > after rte_mempool_create_empty(), the NPA pool will not be > created. In such cases the free path should not call > roc_npa_pool_destroy(). > > Fixes: bbf19e89b87c ("mempool/cnxk: add generic operations") > > Signed-off-by: Ashwin Sekhar T K + Cc: stable@dpdk.org Applied with the title "fix destroying empty pool".