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
net/bnxt: refactor init/uninit
[dpdk.git]
/
app
/
test-pipeline
/
main.c
diff --git
a/app/test-pipeline/main.c
b/app/test-pipeline/main.c
index
0be02ac
..
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;
}
@@
-76,7
+76,7
@@
main(int argc, char **argv)
}
int
}
int
-app_lcore_main_loop(__
attribute__((unused))
void *arg)
+app_lcore_main_loop(__
rte_unused
void *arg)
{
unsigned lcore;
{
unsigned lcore;
@@
-126,7
+126,7
@@
app_lcore_main_loop(__attribute__((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();