[dpdk-dev] [PATCH v3] test/pmd_perf: fix the way to drain the port

Ferruh Yigit ferruh.yigit at intel.com
Thu Feb 21 17:46:38 CET 2019


On 2/20/2019 9:06 PM, Julien Meunier wrote:
> If the port has received less than ``pkt_per_port`` packets (for
> example, the port has missed some packets), the test is in an infinite
> loop.
> 
> Instead of expecting a number of packet to receive, let the port to be
> drained by itself. If no more packets are received, the test can
> continue.
> 
> Fixes: 002ade70e933 ("app/test: measure cycles per packet in Rx/Tx")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Julien Meunier <julien.meunier at nokia.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list