From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v3] test/pmd_perf: fix the way to drain the port Date: Thu, 21 Feb 2019 16:46:38 +0000 Message-ID: <1998fe78-590c-d66d-df3e-381de581136d@intel.com> References: <20190203194218.46480-1-julien.meunier@nokia.com> <20190220210608.48581-1-julien.meunier@nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, stable@dpdk.org To: Julien Meunier Return-path: In-Reply-To: <20190220210608.48581-1-julien.meunier@nokia.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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@dpdk.org > > Signed-off-by: Julien Meunier Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/master, thanks.