projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
06e3485
)
Merge pull request #2223 from maryamtahhan/intel_rdt_core_id_fix
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 26 Mar 2017 13:33:53 +0000
(15:33 +0200)
committer
GitHub
<noreply@github.com>
Sun, 26 Mar 2017 13:33:53 +0000
(15:33 +0200)
intel_rdt: fix validation of configured core id values
src/dpdkstat.c
patch
|
blob
|
history
diff --git
a/src/dpdkstat.c
b/src/dpdkstat.c
index
6b057f2
..
cfe993c
100644
(file)
--- a/
src/dpdkstat.c
+++ b/
src/dpdkstat.c
@@
-103,6
+103,8
@@
static void dpdk_stats_default_config(void) {
for (int i = 0; i < RTE_MAX_ETHPORTS; i++) {
ec->config.port_name[i][0] = 0;
}
+ /* Enable all ports by default */
+ ec->config.enabled_port_mask = ~0;
}
static int dpdk_stats_preinit(void) {