From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 25D742C16 for ; Wed, 19 Dec 2018 22:25:21 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B4DCB222CE; Wed, 19 Dec 2018 16:25:20 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 19 Dec 2018 16:25:20 -0500 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=mesmtp; bh=ZW+oP1Low+KilQrb2y8yAOxvaYejNWYSExWQx0Kuw+g=; b=AlY+HTBFCg8f LU8d3rekOmZJD+qEP/YeJNeLWZBvBKnaFYfKMT0L+din2IVPV1KBporY2fDJUx4Q U4qPzNoY67ke6fM2joAPyK9KxhuYGBnp5W4h1dPpQvECHF8lVcAT97rnBAVjUxzS 5HBs6Ajj/jZA8E+YOVAp4TJkB23a3OI= 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=fm1; bh=ZW+oP1Low+KilQrb2y8yAOxvaYejNWYSExWQx0Kuw +g=; b=ormGM1s93msF5cMoZ7AlHV7aZxnhytxAXLv/Iyg1pnemwK9tZYrISclWT d+itr3+0ud1X8xuiJwTSSSNdG5vkreaE/+D75l2ktfG4V0+X7+9sYPkZhC8tBm61 /+VQb0dwbFIjwztTvYvHBYJTBiO7JkJIo/skUYWq0pBMG79Ah4rQkA7fKOdBaVm7 RTNT6EaM4RfMZUcFeX4c1XqgIEnDi/UAC5bS6tgopnXz16qfFxlxvFNEr91vZl87 7cFxRTWHpsRshvzHIdaOYcBKYhREhvI+xYnUHmT4p5/i1eL8Qm6dWOgVf8JsCRXe nvRQatTGSjM3hGyhvHiSkFZdG+IuA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudejtddgudeglecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecu fedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkf gjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhn uceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvd dtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt 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 id 960DB10085; Wed, 19 Dec 2018 16:25:19 -0500 (EST) From: Thomas Monjalon To: David Hunt Cc: dev@dpdk.org, "Burakov, Anatoly" , lei.a.yao@intel.com Date: Wed, 19 Dec 2018 22:25:18 +0100 Message-ID: <7613010.y8C9Z1eyu9@xps> In-Reply-To: <36e6f6f0-8632-96d5-697f-905745778bbe@intel.com> References: <20181214114946.21570-1-david.hunt@intel.com> <20181214133137.23516-1-david.hunt@intel.com> <36e6f6f0-8632-96d5-697f-905745778bbe@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3 0/4] examples/power: allow use of more than 64 cores X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2018 21:25:21 -0000 14/12/2018 14:37, Burakov, Anatoly: > On 14-Dec-18 1:31 PM, David Hunt wrote: > > First of all we convert all the relevant uint64_t's to char arrays. Then > > we remove the unneeded mask functions that were limited to 64 cores. Also > > extend the guest functionality and finally rause the number of supported > > cores to something more sensible, i.e. 256. > > > > v2 changes: > > * Updates out of Review by Anatoly. > > * Indentation fixes > > * resolved missing spinlock around config updates > > * simplified some loops > > * fixed bug in non-equivalent code > > > > v3 changes: > > * Moved a spinlock to a more appropriate place. Was in a for-loop, made > > more sense to have it outside. > > > > [1/4] examples/power: change 64-bit masks to arrays > > [2/4] examples/power: remove mask functions > > [3/4] examples/power: allow vms to use lcores over 63 > > [4/4] examples/power: increase max cores to 256 > > Reviewed-by: Anatoly Burakov Applied, thanks