numam-dpdk/examples
David Hunt d38e6a6a45 examples/power: fix core id with JSON commands
This patch fixes a bug introduced in the 64-core limitation
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: 5776b7a371 ("examples/power: allow VM to use lcores over 63")

Signed-off-by: David Hunt <david.hunt@intel.com>
Reviewed-by: Lei Yao <lei.a.yao@intel.com>
Tested-by: Lei Yao <lei.a.yao@intel.com>
2019-01-15 02:40:41 +01:00
..
bbdev_app ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
bond examples/bond: fix crash when there is no active slave 2018-12-13 16:32:10 +00:00
cmdline mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
distributor examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
ethtool mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
eventdev_pipeline examples/eventdev_pipeline: support Tx adapter 2018-10-01 16:52:47 +02:00
exception_path ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
fips_validation examples/fips_validation: add power on self test 2019-01-10 16:57:22 +01:00
flow_classify ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
flow_filtering examples/flow_filtering: fix example documentation 2019-01-14 17:44:29 +01:00
helloworld build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
ip_fragmentation ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
ip_pipeline examples: use separate crypto session mempools 2019-01-10 16:57:22 +01:00
ip_reassembly ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
ipsec-secgw examples/ipsec-secgw: add scripts for functional test 2019-01-10 16:57:22 +01:00
ipv4_multicast examples/ipv4_multicast: remove useless mbuf info copy 2018-12-19 22:27:32 +01:00
kni examples/kni: improve zeroing statistics 2018-10-26 19:46:29 +02:00
l2fwd ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd-cat mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
l2fwd-crypto examples: use separate crypto session mempools 2019-01-10 16:57:22 +01:00
l2fwd-jobstats ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd-keepalive ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd-acl ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd-power examples/l3fwd-power: fix power library fallback 2018-11-14 04:39:56 +01:00
l3fwd-vf ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
link_status_interrupt ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
load_balancer mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
multi_process examples/multi_process: add sigint handler to server 2018-11-04 21:54:04 +01:00
netmap_compat ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
packet_ordering ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
performance-thread mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
ptpclient ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
qos_meter ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
qos_sched mbuf: implement generic format for sched field 2018-12-22 00:22:44 +01:00
quota_watermark ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
rxtx_callbacks ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
server_node_efd examples: make Linux environment check consistent 2018-07-12 09:48:12 +02:00
service_cores examples/service_cores: check cores before run 2018-10-29 03:05:15 +01:00
skeleton ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
tep_termination mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
timer build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
vdpa examples/vdpa: fix spelling in error message 2018-10-26 22:14:05 +02:00
vhost examples/vhost: remove unnecessary method and constant 2019-01-14 17:44:29 +01:00
vhost_crypto vhost/crypto: use separate session mempools 2019-01-10 16:57:22 +01:00
vhost_scsi mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
vm_power_manager examples/power: fix core id with JSON commands 2019-01-15 02:40:41 +01:00
vmdq ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
vmdq_dcb examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
Makefile examples/fips_validation: fix build 2018-11-05 21:04:18 +01:00
meson.build mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00