numam-dpdk/examples/qos_sched
Hemant Agrawal e481ebfd62 examples/qos_sched: fix build for less lcores
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: d52b5e735a ("examples/qos_sched: fix lcore limit")
Cc: stable@dpdk.org

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
2017-07-21 17:36:29 +03:00
..
app_thread.c ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
args.c examples/qos_sched: suppress gcc 7.1.1 warning 2017-06-05 14:27:01 +02:00
cfg_file.c examples/qos_sched: remove duplicated cfgfile library 2015-10-22 18:09:36 +02:00
cfg_file.h examples/qos_sched: remove duplicated cfgfile library 2015-10-22 18:09:36 +02:00
cmdline.c remove trailing whitespaces 2014-06-11 00:29:34 +02:00
init.c examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
main.c mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
main.h examples/qos_sched: fix build for less lcores 2017-07-21 17:36:29 +03:00
Makefile fix typos using codespell utility 2017-06-14 23:54:13 +02:00
profile_ov.cfg remove trailing whitespaces 2014-06-11 00:29:34 +02:00
profile.cfg doc: drop old naming of the project 2016-02-10 15:47:51 +01:00
stats.c examples: fix whitespace 2015-06-12 11:10:10 +02:00