From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/power: fix wrong core_id with JSON cmds Date: Tue, 15 Jan 2019 00:15:51 +0100 Message-ID: <3764870.CNDs0HdWOl@xps> References: <20190107113920.37748-1-david.hunt@intel.com> <450fa9eb-fedd-969a-fbb4-c98472cdb1f5@intel.com> <2DBBFF226F7CF64BAFCA79B681719D95496070BB@shsmsx102.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Yao, Lei A" To: "Hunt, David" Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id BD7474C8D for ; Tue, 15 Jan 2019 00:15:53 +0100 (CET) In-Reply-To: <2DBBFF226F7CF64BAFCA79B681719D95496070BB@shsmsx102.ccr.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > >> This patch fixes a bug introduced in the 64-core limtation > > >> enhancement where the core_id is inadvertently converted from > > >> virtual to physical even though it may already be a physical > > >> core_id. > > >> > > >> We should be using the core_type field, and only converting via > > >> hypervisor when core_type is set to CORE_TYPE_VIRTUAL > > >> > > >> Fixes: 5776b7a371d1 ("examples/power: allow VM to use lcores over 63") > > >> > > >> Signed-off-by: David Hunt > Reviewed-by: Lei Yao > Tested-by: Lei Yao Applied, thanks