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
doc: add option -d for plugins in Linux guide
[dpdk.git]
/
examples
/
vm_power_manager
/
channel_monitor.c
diff --git
a/examples/vm_power_manager/channel_monitor.c
b/examples/vm_power_manager/channel_monitor.c
index
08b4137
..
e7f5cc4
100644
(file)
--- a/
examples/vm_power_manager/channel_monitor.c
+++ b/
examples/vm_power_manager/channel_monitor.c
@@
-42,7
+42,6
@@
#include <sys/epoll.h>
#include <sys/queue.h>
#include <sys/epoll.h>
#include <sys/queue.h>
-#include <rte_config.h>
#include <rte_log.h>
#include <rte_memory.h>
#include <rte_malloc.h>
#include <rte_log.h>
#include <rte_memory.h>
#include <rte_malloc.h>
@@
-175,7
+174,7
@@
channel_monitor_init(void)
return -1;
}
global_events_list = rte_malloc("epoll_events", sizeof(*global_events_list)
return -1;
}
global_events_list = rte_malloc("epoll_events", sizeof(*global_events_list)
- * MAX_EVENTS, CACHE_LINE_SIZE);
+ * MAX_EVENTS,
RTE_
CACHE_LINE_SIZE);
if (global_events_list == NULL) {
RTE_LOG(ERR, CHANNEL_MONITOR, "Unable to rte_malloc for "
"epoll events\n");
if (global_events_list == NULL) {
RTE_LOG(ERR, CHANNEL_MONITOR, "Unable to rte_malloc for "
"epoll events\n");