From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/testpmd: add timer based fwd Rx queue flushing Date: Mon, 11 Jul 2016 15:35:30 +0200 Message-ID: <5758518.cRFqCUBp88@xps13> References: <1467368896-15633-1-git-send-email-reshma.pattan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "De Lara Guarch, Pablo" To: "Pattan, Reshma" Return-path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 77E062B98 for ; Mon, 11 Jul 2016 15:35:35 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id o80so51084200wme.1 for ; Mon, 11 Jul 2016 06:35:35 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > Testpmd can stuck inside do while loop of the flush_fwd_rx_queues() > > function. As non-zero packets are returned always by rte_eth_rx_burst() > > function when compiled with no optimizations and if input line rate is > > high. "do while" loop must exit at one stage to proceed further to > > enable packet forwarding and forward the packets. So timer is set to > > exit the do while loop after 1 second. > > > > Fixes: af75078f ("first public release") > > > > Signed-off-by: Reshma Pattan > > Acked-by: Pablo de Lara Applied, thanks