summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8be4f03)
raw | patch | inline | side by side (parent: 8be4f03)
author | Taras Chornyi <tarasx.chornyi@intel.com> | |
Wed, 22 Mar 2017 10:54:31 +0000 (10:54 +0000) | ||
committer | Taras Chornyi <tarasx.chornyi@intel.com> | |
Wed, 22 Mar 2017 10:54:31 +0000 (10:54 +0000) |
If "EnabledPortMask" option is not set
all DPDK ports will be monitored.
Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
all DPDK ports will be monitored.
Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
src/dpdkstat.c | patch | blob | history |
diff --git a/src/dpdkstat.c b/src/dpdkstat.c
index 6b057f214e3276412dd56a3aa402048c6bb6d369..cfe993cbeeb2d547537eb201be55738f4b15e5f6 100644 (file)
--- a/src/dpdkstat.c
+++ b/src/dpdkstat.c
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) {