Re: [dpdk-dev] [PATCH] examples/power: fix ack for enable/disable turbo

2020-02-11 Thread Yao, Lei A
> -Original Message- > From: Hunt, David > Sent: Tuesday, February 11, 2020 6:50 PM > To: dev@dpdk.org; Hunt, David > Cc: Yao, Lei A ; sta...@dpdk.org > Subject: [PATCH] examples/power: fix ack for enable/disable turbo > > When a VM sends a command through virtio-serial to enable/disa

[dpdk-dev] [PATCH] examples/power: fix ack for enable/disable turbo

2020-02-11 Thread David Hunt
When a VM sends a command through virtio-serial to enable/disable turbo, it is successfully enabled or disabled, yet the response to the VM is NACK. This is because all the library frequency change APIs return 1 for success (change in frequency), 0 for success (no change in frequency) and -1 for fa