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
raw/ifpga: add APIs to get FPGA information
[dpdk.git]
/
examples
/
l2fwd-keepalive
/
main.c
diff --git
a/examples/l2fwd-keepalive/main.c
b/examples/l2fwd-keepalive/main.c
index
d0e8bf3
..
e4c2b27
100644
(file)
--- a/
examples/l2fwd-keepalive/main.c
+++ b/
examples/l2fwd-keepalive/main.c
@@
-786,8
+786,8
@@
main(int argc, char **argv)
) != 0 )
rte_exit(EXIT_FAILURE, "Stats setup failure.\n");
}
) != 0 )
rte_exit(EXIT_FAILURE, "Stats setup failure.\n");
}
- /* launch per-lcore init on every
slave
lcore */
- RTE_LCORE_FOREACH_
SLAVE
(lcore_id) {
+ /* launch per-lcore init on every
worker
lcore */
+ RTE_LCORE_FOREACH_
WORKER
(lcore_id) {
struct lcore_queue_conf *qconf = &lcore_queue_conf[lcore_id];
if (qconf->n_rx_port == 0)
struct lcore_queue_conf *qconf = &lcore_queue_conf[lcore_id];
if (qconf->n_rx_port == 0)
@@
-810,7
+810,7
@@
main(int argc, char **argv)
rte_delay_ms(5);
}
rte_delay_ms(5);
}
- RTE_LCORE_FOREACH_
SLAVE
(lcore_id) {
+ RTE_LCORE_FOREACH_
WORKER
(lcore_id) {
if (rte_eal_wait_lcore(lcore_id) < 0)
return -1;
}
if (rte_eal_wait_lcore(lcore_id) < 0)
return -1;
}