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 DED53A0A02 for ; Wed, 5 May 2021 23:41:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D1E4C410F3; Wed, 5 May 2021 23:41:50 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id C612F410E0; Wed, 5 May 2021 23:41:48 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 796715C0138; Wed, 5 May 2021 17:41:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 05 May 2021 17:41:48 -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= NmVtTS2VKyCDiHrf9wHjViSA9L369NykwY7wpJwKe6s=; b=zTXnu+nKiRcpHSzn 9WRd22UUOe8g61utCkmODZ7O/0XSw/MX+PLQuS4Xxt3dXj0fy2mNdn7QIKlwq26V XWaOCexdeU1wG6lrD9oGdJzaY7+fuUy/KSxPO6XqzG8v5WRMVPOFUbQh3mazupWm 1R+Spzw3Iy7uPRCcF2eIn+219rQp/UQ8/Yonx8NzyvvH6LQCBvuUzvbazNaexJHS 8rCBdHt1tpJ7oE6Km/K0ToX5Yw8trKpl0m/WRLw20hq8Xhvb6VbBq2h5PnWYMrCb daOrtOGpPz8ghxizu7gm1glJ4wFP+gXkNH+rxE1IuXbTsXUzYHf0leqBEdzWBJiA cNODnA== 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=NmVtTS2VKyCDiHrf9wHjViSA9L369NykwY7wpJwKe 6s=; b=vWVc+yMcI7IeUxgfb33o6fqoYEo9+WpVGxG4XJhvpRRwHbrjsA+pfYd0l uryQFubwU14YCGqq4arlbwpvftF6THcc4K8uRocjIRflg8uodTJsVuuF6f/HcAq2 KbdIbf3Nyva8gd21H+WOWKzdAsDVZYGAMRH1Nk8qlZ3t1Uab+BoZl9rMEPGcM1Wg 5ZhIPKYUZnFA8kjyUNr1WIt3/yK9sn6ekimnC4plPrvsuf7udxW5vL7fIpNzzcUl a/XZxN/wSna9Ui5pKIwkA3ISFT92IB/Q1hPiAe/VgTyCgzswP+5IzDdcoKVl/3iW ty1sAjJYWn/u2XKlSUxkQ0ZaPGZkQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefkedgudeitdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth 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; Wed, 5 May 2021 17:41:47 -0400 (EDT) From: Thomas Monjalon To: Reshma Pattan Cc: dev@dpdk.org, stable@dpdk.org, David Hunt Date: Wed, 05 May 2021 23:41:46 +0200 Message-ID: <5980045.ZB7BLERMNH@thomas> In-Reply-To: References: <20210421104534.17768-1-reshma.pattan@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] examples/vm_power_manager: remove vm channel number check X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 23/04/2021 10:56, David Hunt: > > On 21/4/2021 11:45 AM, Reshma Pattan wrote: > > VM channel number should not be validated against the > > host vm_power_manager coremask core indexes, as VM > > cores need not to be same as host cores. > > So remove this check, to allow all the vm channels > > to be added successfully. > > > > Fixes: b49c677a0d24 ("examples/vm_power: respect core mask") > > Cc: david.hunt@intel.com > > Cc: stable@dpdk.org > > > > Signed-off-by: Reshma Pattan > > Thanks, Reshma. > > The rte_lcore_index() call was incorrectly comparing virtual core_id > against the list of physical core_ids. > > Reviewed-by: David Hunt Applied, thanks