Re: [dpdk-dev] [PATCH] examples/power: fix wrong core_id with JSON cmds

2019-01-14 Thread Thomas Monjalon
> > >> 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 >

Re: [dpdk-dev] [PATCH] examples/power: fix wrong core_id with JSON cmds

2019-01-08 Thread Yao, Lei A
> -Original Message- > From: Hunt, David > Sent: Tuesday, January 8, 2019 5:20 PM > To: Yao, Lei A ; dev@dpdk.org > Subject: Re: [PATCH] examples/power: fix wrong core_id with JSON cmds > > Hi Lei, > > On 8/1/2019 2:02 AM, Yao, Lei A wrote: > > > >> -Original Message- > >> From:

Re: [dpdk-dev] [PATCH] examples/power: fix wrong core_id with JSON cmds

2019-01-08 Thread Hunt, David
Hi Lei, On 8/1/2019 2:02 AM, Yao, Lei A wrote: -Original Message- From: Hunt, David Sent: Monday, January 7, 2019 7:39 PM To: dev@dpdk.org Cc: Hunt, David ; Yao, Lei A Subject: [PATCH] examples/power: fix wrong core_id with JSON cmds This patch fixes a bug introduced in the 64-core l

Re: [dpdk-dev] [PATCH] examples/power: fix wrong core_id with JSON cmds

2019-01-07 Thread Yao, Lei A
> -Original Message- > From: Hunt, David > Sent: Monday, January 7, 2019 7:39 PM > To: dev@dpdk.org > Cc: Hunt, David ; Yao, Lei A > Subject: [PATCH] examples/power: fix wrong core_id with JSON cmds > > This patch fixes a bug introduced in the 64-core limtation > enhancement where the

[dpdk-dev] [PATCH] examples/power: fix wrong core_id with JSON cmds

2019-01-07 Thread David Hunt
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_TY