numam-dpdk/examples
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
..
bond examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
cmdline fix typos using codespell utility 2017-06-14 23:54:13 +02:00
distributor examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
ethtool examples/ethtool: include PCI header directly 2017-07-09 00:05:42 +02:00
eventdev_pipeline_sw_pmd examples/eventdev_pipeline_sw_pmd: add sample app 2017-07-07 09:30:12 +02:00
exception_path examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
helloworld fix typos using codespell utility 2017-06-14 23:54:13 +02:00
ip_fragmentation examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
ip_pipeline examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
ip_reassembly examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
ipsec-secgw cryptodev: rename ADD field 2017-07-19 14:10:41 +03:00
ipv4_multicast examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
kni examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
l2fwd examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
l2fwd-cat examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
l2fwd-crypto examples/l2fwd-crypto: add option to update MAC address 2017-07-19 17:33:07 +03:00
l2fwd-jobstats examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
l2fwd-keepalive examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
l3fwd examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
l3fwd-acl examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
l3fwd-power examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
l3fwd-vf examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
link_status_interrupt examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
load_balancer examples/load_balancer: fix build for less lcores 2017-07-21 17:36:20 +03:00
multi_process examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
netmap_compat examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
packet_ordering examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
performance-thread examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
ptpclient examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
qos_meter examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
qos_sched examples/qos_sched: fix build for less lcores 2017-07-21 17:36:29 +03:00
quota_watermark examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
rxtx_callbacks examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
server_node_efd examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
skeleton examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
tep_termination examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
timer fix typos using codespell utility 2017-06-14 23:54:13 +02:00
vhost examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
vhost_scsi examples/vhost_scsi: introduce a new sample app 2017-07-19 22:49:47 +03:00
vhost_xen examples: adjust Rx and Tx descriptors to device limits 2017-07-08 18:47:00 +02:00
vm_power_manager examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
vmdq examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
vmdq_dcb examples: remove duplicate includes 2017-07-16 17:30:25 +02:00
Makefile examples/vhost_scsi: introduce a new sample app 2017-07-19 22:49:47 +03:00