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
metrics: fix variable declaration in header
[dpdk.git]
/
app
/
test-pipeline
/
main.c
diff --git
a/app/test-pipeline/main.c
b/app/test-pipeline/main.c
index
7f0d6d3
..
72e4797
100644
(file)
--- a/
app/test-pipeline/main.c
+++ b/
app/test-pipeline/main.c
@@
-66,8
+66,8
@@
main(int argc, char **argv)
app_init();
/* Launch per-lcore init on every lcore */
app_init();
/* Launch per-lcore init on every lcore */
- rte_eal_mp_remote_launch(app_lcore_main_loop, NULL, CALL_MA
STER
);
- RTE_LCORE_FOREACH_
SLAVE
(lcore) {
+ rte_eal_mp_remote_launch(app_lcore_main_loop, NULL, CALL_MA
IN
);
+ RTE_LCORE_FOREACH_
WORKER
(lcore) {
if (rte_eal_wait_lcore(lcore) < 0)
return -1;
}
if (rte_eal_wait_lcore(lcore) < 0)
return -1;
}
@@
-126,7
+126,7
@@
app_lcore_main_loop(__rte_unused void *arg)
return 0;
case e_APP_PIPELINE_ACL:
return 0;
case e_APP_PIPELINE_ACL:
-#ifndef RTE_LIB
RTE
_ACL
+#ifndef RTE_LIB_ACL
rte_exit(EXIT_FAILURE, "ACL not present in build\n");
#else
app_main_loop_worker_pipeline_acl();
rte_exit(EXIT_FAILURE, "ACL not present in build\n");
#else
app_main_loop_worker_pipeline_acl();