e481ebfd62
APP_MAX_LCORES is hardcoded as 64.
This will cause build err when RTE_MAX_LCORE is less then 64.
"args.c:127:22: error: iteration 8 invokes undefined behavior
[-Werror=aggressive-loop-optimizations]
if (cfg->lcore_role[i] == ROLE_RTE)
~~~~~~~~~~~~~~~^~~
args.c:126:2: note: within this loop
for (i = 0; i < APP_MAX_LCORE; i++) {"
Fixes:
|
||
---|---|---|
.. | ||
app_thread.c | ||
args.c | ||
cfg_file.c | ||
cfg_file.h | ||
cmdline.c | ||
init.c | ||
main.c | ||
main.h | ||
Makefile | ||
profile_ov.cfg | ||
profile.cfg | ||
stats.c |