Go to file
David Hunt 1e3ec03d8a examples/power: fix ack for enable/disable turbo
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 failure. However the turbo enable/disable APIs just
return 0 for success and -1 for failure.

Fix the handling of the return code to treat ">= 0" as success, and
send an ACK. Only send NACK when < 0 (failure).

Fixes: 0de94bcac7 ("examples/vm_power: send confirmation cmd to guest")
Cc: stable@dpdk.org

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Lei Yao <lei.a.yao@intel.com>
2020-02-13 18:22:19 +01:00
.ci devtools: add ABI checks 2020-02-05 15:14:46 +01:00
app test/acl: add 32-bit range test case 2020-02-13 14:43:56 +01:00
buildtools build: remove redundant config include 2020-02-11 16:50:59 +01:00
config config: deduplicate options 2020-02-12 11:32:15 +01:00
devtools devtools: enable more config options in build test 2020-02-12 11:32:15 +01:00
doc build: allow using wildcards to disable drivers 2020-02-06 09:17:24 +01:00
drivers vdpa/mlx5: fix ABI version 2020-02-12 09:26:43 +01:00
examples examples/power: fix ack for enable/disable turbo 2020-02-13 18:22:19 +01:00
kernel contigmem: update for FreeBSD 13 2020-01-20 17:53:42 +01:00
lib acl: fix 32-bit match for range field 2020-02-13 14:43:56 +01:00
license license: add exceptions for Windows 2020-02-12 22:50:29 +01:00
mk mk: ignore missing field initializers warning 2020-02-06 09:09:37 +01:00
usertools usertools: fix typo in SPDX tag of telemetry script 2019-11-28 03:12:55 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add vDPA features table 2020-01-14 00:09:33 +01:00
.travis.yml devtools: add ABI checks 2020-02-05 15:14:46 +01:00
ABI_VERSION build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS build: allow using wildcards to disable drivers 2020-02-06 09:17:24 +01:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt crypto/armv8: enable meson build 2020-02-05 15:20:51 +01:00
meson.build build: fix Windows build 2019-11-25 15:07:02 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.02-rc2 2020-02-06 19:53:24 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org