From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 866832BA6 for ; Tue, 27 Sep 2016 08:39:51 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 26 Sep 2016 23:39:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,403,1470726000"; d="scan'208";a="1062769114" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by fmsmga002.fm.intel.com with ESMTP; 26 Sep 2016 23:39:49 -0700 Date: Tue, 27 Sep 2016 14:40:17 +0800 From: Yuanhan Liu To: James Poole Cc: dpdk stable , pablo.de.lara.guarch@intel.com Message-ID: <20160927064017.GH25823@yliu-dev.sh.intel.com> References: <1473328156-32488-1-git-send-email-james.g.poole@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1473328156-32488-1-git-send-email-james.g.poole@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] app/testpmd: fix timeout in Rx queue flushing X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2016 06:39:52 -0000 On Thu, Sep 08, 2016 at 10:49:16AM +0100, James Poole wrote: > When testpmd is run, the application would hang on the second time > that "start" is executed. This is because the timer limit would get > multiplied to an unreachably high number. > > At the start of flush_fwd_rx_queues(), the timer limit now resets > to stop it from getting to this high number. > > The timer has been made local for this function. > > Fixes: f487715f36f5 ("app/testpmd: add timeout in Rx queue flushing") > > Signed-off-by: James Poole FYI, this patch has been applied to stable branch v16.07. It hasn't been pushed to http://dpdk.org/browse/dpdk-stable/ yet. It will be pushed if I get no objections in around TWO days. So please shutout if you have objections. Thanks. --yliu