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: fix Rx queue startup state
[dpdk.git]
/
examples
/
qos_sched
/
main.c
diff --git
a/examples/qos_sched/main.c
b/examples/qos_sched/main.c
index
c0ed16b
..
dc6a17a
100644
(file)
--- a/
examples/qos_sched/main.c
+++ b/
examples/qos_sched/main.c
@@
-29,7
+29,7
@@
uint32_t qavg_ntimes = APP_QAVG_NTIMES;
/* main processing loop */
static int
/* main processing loop */
static int
-app_main_loop(__
attribute__((unused))
void *dummy)
+app_main_loop(__
rte_unused
void *dummy)
{
uint32_t lcore_id;
uint32_t i, mode;
{
uint32_t lcore_id;
uint32_t i, mode;
@@
-204,7
+204,7
@@
main(int argc, char **argv)
return -1;
/* launch per-lcore init on every lcore */
return -1;
/* launch per-lcore init on every lcore */
- rte_eal_mp_remote_launch(app_main_loop, NULL, SKIP_MA
STER
);
+ rte_eal_mp_remote_launch(app_main_loop, NULL, SKIP_MA
IN
);
if (interactive) {
sleep(1);
if (interactive) {
sleep(1);
@@
-218,5
+218,8
@@
main(int argc, char **argv)
}
}
}
}
+ /* clean up the EAL */
+ rte_eal_cleanup();
+
return 0;
}
return 0;
}