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 E458AA0A02; Thu, 13 May 2021 15:01:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92C864067E; Thu, 13 May 2021 15:01:39 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 427284003F for ; Thu, 13 May 2021 15:01:38 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D090C5C0183; Thu, 13 May 2021 09:01:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 13 May 2021 09:01:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= djGyAIAsVrBC4sRSfxqY/eddiFg5wNftA8leNSi/SQ0=; b=1BgxTQ3AU93FVZzo WUMMSTfxo+KXDX9oVXpTQIVE2pkp0s2x34UebWcoG3yp+eFJXGPwsT4ZiLajxx4H mKnNI8XdGUzFly69K/2ERQU0quSQDqkP0xXNcaa5sCEnm4gH0n7Feaq4zwBBMLXk 7OCsUz6WcyGdDkvKtJxamxWZ4Bo6AMO587JOpR3sNMcfynml4wBRMx0KdyxV9suu 9ioSK3HHrpM45QPwdWArzVfxLkpbxRCOgoR5pPxSbLWorjen0pg4qlHN94dd3gvZ rjsUpGQVS8+QPMcCFYH9qf26m4X+P5GyINwsdx+IICUsbiiEmTsInLBoFsSy9ECY TOO2PA== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=djGyAIAsVrBC4sRSfxqY/eddiFg5wNftA8leNSi/S Q0=; b=s9Nd2tD2ATXYVU+ueXqKB/YrLb3qTEoHNZzRsfIr/sI5p1927GMoCpbA7 PdVFCoHGDiOg660zUBf+F3A8CGeq9CU2qY48l6ozWx5OeO9FJw4pnB+PVemiKVC8 E329SmRRCUPEQmq2yqq7ynVyqw6IVkkxDkNpa81KuJXHewn6Mvj7mfE6sqt6SWEk F2bLVnvaOxKF+gupU27PdHpKtfmMkvIQWgo2MQuOlJGTqfKPtCa8V3gvK3yQ9p5F +Fpg6C126SePX7R2+0JNMqrHIIXwha4xb5BgXprJ7rhj0Yfy9LxVDaS0RzAGqME/ dQhX1+t2kWkICvtvdNirz6/SKabkw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehgedgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 13 May 2021 09:01:36 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org, Li Zhang Cc: orika@nvidia.com, viacheslavo@nvidia.com, matan@nvidia.com, shahafs@nvidia.com, dev@dpdk.org, rasland@nvidia.com, roniba@nvidia.com Date: Thu, 13 May 2021 15:01:34 +0200 Message-ID: <1906999.WtRk9JatXB@thomas> In-Reply-To: <20210513083546.3215602-1-lizh@nvidia.com> References: <20210513073552.3213962-1-lizh@nvidia.com> <20210513083546.3215602-1-lizh@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: fix meter cleaning in stop operation 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 Sender: "dev" 13/05/2021 10:35, Li Zhang: > A meter may handle Rx queue reference in his sub-policies. > In stop operation, all the Rx queues are released. > > Wrongly, the meter reference was not released before > destroying the Rx queues what cause an error in stop. > > Release the Rx queues meter references in stop operation. > > Fixes: fc6ce56bba ("net/mlx5: prepare sub-policy for flow with meter") > > Signed-off-by: Li Zhang > Acked-by: Matan Azrad Applied in next-net-mlx, thanks.