git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common/qat: build drivers from common folder
[dpdk.git]
/
lib
/
librte_power
/
power_kvm_vm.h
diff --git
a/lib/librte_power/power_kvm_vm.h
b/lib/librte_power/power_kvm_vm.h
index
94d4aa1
..
73b4c82
100644
(file)
--- a/
lib/librte_power/power_kvm_vm.h
+++ b/
lib/librte_power/power_kvm_vm.h
@@
-20,6
+20,16
@@
extern "C" {
#endif
extern "C" {
#endif
+/**
+ * Check if KVM power management is supported.
+ *
+ * @return
+ * - 1 if supported
+ * - 0 if unsupported
+ * - -1 if error, with rte_errno indicating reason for error.
+ */
+int power_kvm_vm_check_supported(void);
+
/**
* Initialize power management for a specific lcore.
*
/**
* Initialize power management for a specific lcore.
*