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

2016-07-17 Thread Liu, Yong
Tested-by: Marvin Liu > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Reshma Pattan > Sent: Thursday, July 14, 2016 11:49 PM > To: dev at dpdk.org > Cc: Pattan, Reshma > Subject: [dpdk-dev] [PATCH] examples/distributor: fix Rx threa

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

2016-07-15 Thread Thomas Monjalon
> > 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 c

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

2016-07-15 Thread De Lara Guarch, Pablo
> -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 > pack

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

2016-07-14 Thread Reshma Pattan
From: Reshma Pattan 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