numam-dpdk/examples
Yong Wang b3bee7d87d examples/vhost: fix lcore initialization
when "TAILQ_INIT()" was added to the loop of "for (lcore_id = 0; ...)"
statement, the assignment to "lcore_ids" was removed out of the loop.
It changed the original initialization of "lcore_ids".

Fix it by introducing two braces.

Fixes: 45657a5c68 ("examples/vhost: use tailq to link vhost devices")
Cc: stable@dpdk.org

Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-01-17 09:20:18 +01:00
..
bond remove unused ring includes 2016-09-16 10:16:02 +02:00
cmdline examples: fix whitespace 2015-06-12 11:10:10 +02:00
distributor log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
dpdk_qat remove unused ring includes 2016-09-16 10:16:02 +02:00
ethtool examples/ethtool: fix driver information 2016-12-20 18:22:03 +01:00
exception_path remove unused ring includes 2016-09-16 10:16:02 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation remove unused ring includes 2016-09-16 10:16:02 +02:00
ip_pipeline make python scripts PEP8 compliant 2017-01-04 21:12:58 +01:00
ip_reassembly remove unused ring includes 2016-09-16 10:16:02 +02:00
ipsec-secgw log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
ipv4_multicast remove unused ring includes 2016-09-16 10:16:02 +02:00
kni remove unused ring includes 2016-09-16 10:16:02 +02:00
l2fwd examples/l2fwd: add option --[no-]mac-updating 2016-10-13 14:37:48 +02:00
l2fwd-cat examples/l2fwd-cat: add sample application for PQoS CAT and CDP 2016-03-21 23:36:43 +01:00
l2fwd-crypto examples/l2fwd-crypto: fix verify with decrypt in chain 2016-10-13 21:58:44 +02:00
l2fwd-jobstats remove unused ring includes 2016-09-16 10:16:02 +02:00
l2fwd-keepalive remove unused ring includes 2016-09-16 10:16:02 +02:00
l3fwd examples/l3fwd: use accelerated CRC on ARM 2016-10-25 18:49:18 +02:00
l3fwd-acl remove unused ring includes 2016-09-16 10:16:02 +02:00
l3fwd-power remove unused ring includes 2016-09-16 10:16:02 +02:00
l3fwd-vf remove unused ring includes 2016-09-16 10:16:02 +02:00
link_status_interrupt remove unused ring includes 2016-09-16 10:16:02 +02:00
load_balancer remove unused ring includes 2016-09-16 10:16:02 +02:00
multi_process remove unused ring includes 2016-09-16 10:16:02 +02:00
netmap_compat examples/netmap_compat: fix infinite loop 2016-05-16 21:01:51 +02:00
packet_ordering log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
performance-thread remove unused ring includes 2016-09-16 10:16:02 +02:00
ptpclient mk: fix link with glibc < 2.17 2016-07-25 17:54:57 +02:00
qos_meter examples/qos_meter: check flow configuration error 2016-05-16 18:49:12 +02:00
qos_sched examples/qos_sched: fix dequeue from ring 2016-10-13 14:37:48 +02:00
quota_watermark log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
rxtx_callbacks apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
skeleton apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
tep_termination log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost examples/vhost: fix lcore initialization 2017-01-17 09:20:18 +01:00
vhost_xen log: do not drop debug logs at compile time 2016-12-01 18:09:13 +01:00
vm_power_manager examples/vm_power_manager: remove dependency on internal header 2016-07-11 17:23:32 +02:00
vmdq remove unused ring includes 2016-09-16 10:16:02 +02:00
vmdq_dcb remove unused ring includes 2016-09-16 10:16:02 +02:00
Makefile ivshmem: remove library and its EAL integration 2016-08-23 12:23:58 +02:00