From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 2B3CE231C for ; Fri, 23 Sep 2016 20:20:51 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id b130so44394156wmc.0 for ; Fri, 23 Sep 2016 11:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=ujZhVb6PNSmE2sBj1aJ/RzaB//cwDT/CRkW8IEAAK3w=; b=Kr897T5L/GjSLHp08zWHXrmCkJzQnPBuDR6pUxB6t+pjxbMC43yUMUSHL7v6KlALue 2tLFmhGn0lAHODd8C0uFkY06qBD4bhMXJBtbVED2iE2qbhCI1D5uL8saQv+nmEPzLlv+ /52Ua2l6NADNB4iF3huaW8l4pyD/wSLexK2zNtcOu3hctv5fcB3cK++GzYHBh4M1F4ir hl/VyXYCYVGHDAhgJmeaQZOEq+V1VBlplEyNOeKDQuhWD3Tm5jOMUWEBKzQ8Mhmpb9ya kBzc5z5WTo5gtDNRKHSFLra+8hJg/LfFUR9fk7QdmU7OQLDnTd4vBuDq5b2eOPeKpj9n yEfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=ujZhVb6PNSmE2sBj1aJ/RzaB//cwDT/CRkW8IEAAK3w=; b=GAcKxb8hlZ9EDeiHc6oxGDDByjHs0rU3IWAdsJz/x6zOzOItnpyWmzEZAZqd3f64tT qlmS9/FoQYab/rlZ/60hcIvE6veZUrdylJdJyKnaYChqc13WcmnYb3I1yajS852ItHz8 fw7Ious8agsz+HLh2EH3sdxUWhl9CETFrKLOKOMvGAvl/fxWfSfPZPDi4txBwz1pTMvh YF76wF48KfVaO6yAgIGOjzzeYvljk3nXy8wsY7xHhiZwyauSlnXY6xWFEwpMrMluSLEp NJ4eIe2DzwsPNpOAu1LpSn4FB2UjZoPkL6B0tpRQVZ5xkU1kRBAfi7axhvHeZ7ImiRSQ CbOQ== X-Gm-Message-State: AA6/9RmFj+PPGFJ/iabog4ymHmTAzhd6B5Uuzcjl3fDHpIJg8ytf43Yick9sdomGbBB/bCyx X-Received: by 10.28.17.203 with SMTP id 194mr3912562wmr.12.1474654850957; Fri, 23 Sep 2016 11:20:50 -0700 (PDT) Received: from xps13.localnet (244.202.154.77.rev.sfr.net. [77.154.202.244]) by smtp.gmail.com with ESMTPSA id a5sm8437612wjd.9.2016.09.23.11.20.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Sep 2016 11:20:50 -0700 (PDT) From: Thomas Monjalon To: James Poole Cc: dev@dpdk.org, Ferruh Yigit , pablo.de.lara.guarch@intel.com Date: Fri, 23 Sep 2016 20:20:45 +0200 Message-ID: <9780401.L0I3dXZThK@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1473328156-32488-1-git-send-email-james.g.poole@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: Fri, 23 Sep 2016 18:20:51 -0000 2016-09-13 17:04, Ferruh Yigit: > 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: Applied, thanks