summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFan Zhang <roy.fan.zhang@intel.com>2016-03-14 12:22:02 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-03-22 19:22:06 +0100
commitd63ef5233e9a7df72855da5351f89f145d6df393 (patch)
treed509ec3bd800dd9bc43a56d1525858a608acdc65 /examples
parenta85ad367ac9cedf3f34e537cb8282a432b7167d6 (diff)
downloaddpdk-d63ef5233e9a7df72855da5351f89f145d6df393.zip
dpdk-d63ef5233e9a7df72855da5351f89f145d6df393.tar.gz
dpdk-d63ef5233e9a7df72855da5351f89f145d6df393.tar.xz
examples/ip_pipeline: fix configuration parser
Fixes: 377cd98e0ab6 ("examples/ip_pipeline: add link identification") Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ip_pipeline/config_parse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/ip_pipeline/config_parse.c b/examples/ip_pipeline/config_parse.c
index e39c23e..152889d 100644
--- a/examples/ip_pipeline/config_parse.c
+++ b/examples/ip_pipeline/config_parse.c
@@ -678,6 +678,8 @@ parse_eal(struct app_params *app,
p->pci_blacklist[i] =
strdup(entry->value);
PARSE_ERROR_MALLOC(p->pci_blacklist[i]);
+
+ break;
}
PARSE_ERROR_MESSAGE((i < APP_MAX_LINKS),
@@ -702,6 +704,8 @@ parse_eal(struct app_params *app,
p->pci_whitelist[i] = strdup(entry->value);
PARSE_ERROR_MALLOC(p->pci_whitelist[i]);
+
+ break;
}
PARSE_ERROR_MESSAGE((i < APP_MAX_LINKS),
@@ -720,6 +724,8 @@ parse_eal(struct app_params *app,
p->vdev[i] = strdup(entry->value);
PARSE_ERROR_MALLOC(p->vdev[i]);
+
+ break;
}
PARSE_ERROR_MESSAGE((i < APP_MAX_LINKS),