From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id CFF776C9B for ; Tue, 13 Sep 2016 18:04:13 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 13 Sep 2016 09:04:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,329,1470726000"; d="scan'208";a="1029366690" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.106]) ([10.237.220.106]) by orsmga001.jf.intel.com with ESMTP; 13 Sep 2016 09:04:12 -0700 To: James Poole , dev@dpdk.org References: <1473328156-32488-1-git-send-email-james.g.poole@intel.com> Cc: pablo.de.lara.guarch@intel.com From: Ferruh Yigit Message-ID: Date: Tue, 13 Sep 2016 17:04:10 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1473328156-32488-1-git-send-email-james.g.poole@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix timeout in Rx queue flushing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 16:04:14 -0000 On 9/8/2016 10:49 AM, 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 Acked-by: