[dpdk-dev] [PATCH] examples/distributor: fix Rx thread logic for zero packets

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jul 15 23:44:29 CEST 2016


> > 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>

Applied, thanks


More information about the dev mailing list