> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Reshma Pattan > Sent: Thursday, July 14, 2016 4:49 PM > To: dev at dpdk.org > Cc: Pattan, Reshma > Subject: [dpdk-dev] [PATCH] examples/distributor: fix Rx thread logic for zero > packets > > From: Reshma Pattan <reshma.pattan at intel.com> > > 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 at intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>