numam-dpdk/examples
Reshma Pattan 2b41fac559 examples/distributor: fix Rx thread logic for zero packet
Zero packets can be returned by rte_eth_rx_burst() and
rte_distributor_returned_pkts() inside lcore_rx(), so
for zero packet scenario instead of proceeding to
next operations we should continue to the next iteration of the
loop to avoid unnecessary processing overhead which is causing
rx packets to be dropped and hence distributor failing to forward the
packets.

Fixes: 07db4a97 ("examples/distributor: new sample app")

Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2016-07-15 23:42:48 +02:00
..
bond examples/bond: check thread termination 2016-07-11 17:21:21 +02:00
cmdline examples: fix whitespace 2015-06-12 11:10:10 +02:00
distributor examples/distributor: fix Rx thread logic for zero packet 2016-07-15 23:42:48 +02:00
dpdk_qat examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
ethtool ethdev: get registers width 2016-07-10 14:55:42 +02:00
exception_path examples/exception_path: fix shift operation in lcore setup 2016-04-27 17:41:46 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation examples: fix duplicated lpm6 name 2016-06-15 16:29:18 +02:00
ip_pipeline examples/ip_pipeline: add config diagram generator 2016-07-11 17:26:52 +02:00
ip_reassembly examples: fix duplicated lpm6 name 2016-06-15 16:29:18 +02:00
ipsec-secgw examples/ipsec-secgw: support transport mode 2016-06-21 12:12:09 +02:00
ipv4_multicast eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
kni examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
l2fwd examples/l2fwd: increase mempool cache size for performance 2016-06-08 22:38:52 +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 stats array length 2016-07-11 17:21:21 +02:00
l2fwd-ivshmem examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
l2fwd-jobstats examples/l2fwd-jobstats: fix a typo 2016-06-08 22:38:52 +02:00
l2fwd-keepalive examples/l2fwd-keepalive: fix memory leak 2016-06-21 15:56:39 +02:00
l3fwd examples/l3fwd: update usage and documentation 2016-07-11 17:21:21 +02:00
l3fwd-acl examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
l3fwd-power examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
l3fwd-vf examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
link_status_interrupt examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
load_balancer ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
multi_process examples: fix dependencies on hash library 2016-07-10 16:23:13 +02:00
netmap_compat examples/netmap_compat: fix infinite loop 2016-05-16 21:01:51 +02:00
packet_ordering examples: remove useless debug flags 2016-05-02 15:31:17 +02:00
performance-thread examples/performance-thread: fix size of destination port ids 2016-06-08 22:38:52 +02:00
ptpclient mk: fix missing librt dependencies 2016-03-22 20:46:53 +01:00
qos_meter examples/qos_meter: check flow configuration error 2016-05-16 18:49:12 +02:00
qos_sched mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
quota_watermark examples/quota_watermark: fix memory overflow 2016-06-08 22:38:52 +02: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 examples/tep_term: fix port id check 2016-07-11 17:21:21 +02:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost examples/vhost: print error logs on failure 2016-07-11 04:57:15 +02:00
vhost_xen eal: fix thread naming on FreeBSD 2016-06-17 18:04:22 +02:00
vm_power_manager examples/vm_power_manager: remove dependency on internal header 2016-07-11 17:23:32 +02:00
vmdq examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
vmdq_dcb examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
Makefile examples: fix dependencies on hash library 2016-07-10 16:23:13 +02:00