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
crypto/mlx5: add maximum segments configuration
[dpdk.git]
/
examples
/
vm_power_manager
/
channel_monitor.h
diff --git
a/examples/vm_power_manager/channel_monitor.h
b/examples/vm_power_manager/channel_monitor.h
index
0ca6207
..
2b38c55
100644
(file)
--- a/
examples/vm_power_manager/channel_monitor.h
+++ b/
examples/vm_power_manager/channel_monitor.h
@@
-5,8
+5,9
@@
#ifndef CHANNEL_MONITOR_H_
#define CHANNEL_MONITOR_H_
#ifndef CHANNEL_MONITOR_H_
#define CHANNEL_MONITOR_H_
+#include <rte_power.h>
+
#include "channel_manager.h"
#include "channel_manager.h"
-#include "rte_power_guest_channel.h"
struct core_share {
unsigned int pcpu;
struct core_share {
unsigned int pcpu;
@@
-19,10
+20,10
@@
struct core_share {
struct policy {
struct rte_power_channel_packet pkt;
struct policy {
struct rte_power_channel_packet pkt;
- uint32_t pfid[MAX_VFS];
- uint32_t port[MAX_VFS];
+ uint32_t pfid[
RTE_POWER_
MAX_VFS];
+ uint32_t port[
RTE_POWER_
MAX_VFS];
unsigned int enabled;
unsigned int enabled;
- struct core_share core_share[MAX_VCPU_PER_VM];
+ struct core_share core_share[
RTE_POWER_
MAX_VCPU_PER_VM];
};
#ifdef __cplusplus
};
#ifdef __cplusplus