From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 47C54A04A2 for ; Mon, 11 May 2020 21:35:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1EF5F1C1A3; Mon, 11 May 2020 21:35:21 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id EB36D1C192; Mon, 11 May 2020 21:35:18 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3448E5C00C1; Mon, 11 May 2020 15:35:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 11 May 2020 15:35:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= pr1Vx5Dpoir+JP7edz87hnvNLU5aJq0o9TFtWw8wgiI=; b=EnBsXp2lPkCu756d aJGSuh5xwICV687bELL4pR2Q/ign/YvNViKyFM6JUX5sk35ELjPUXnjnOR6aDReY msgMJbA7TZF700v4CbP56Hln6huZNBRfNruwSPjuy6LEAMBI+6pyUVp7cFx5xEL/ NtzFqML7q204XQ9B+GFldyvEoE3iuXCTRkbZJSP2kZ+wJoYmX58MrZUeN8l5zJRV 6V5JounPRfrkcvByMUGz17n4Au47lg//75wdcPmlyrQ5MmjNjRXppDyD/0PUssR4 rNXu/wL0S5ITMVwHGYna1vij7rUY/ObGAil/CTjIMSO9ABkz9QjpHZCOB0tZit2F +3Df+A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=pr1Vx5Dpoir+JP7edz87hnvNLU5aJq0o9TFtWw8wg iI=; b=1BAKllSfoiit31tXWG2oK8b6hq+OPYCEzTwAyN9nbDDYO3RywmIcCb4J+ MflmuXvdIrbsVq93Sku56B7wffmfYH+wn4JZOuhSVMdfG97Kxt2DweMua+5BCm+k wAspBM1wV3FKmfPJlkmpH4ph9cfLrCIPU0gEfrVunsueXs3aK1X3Xj0ddBI74O6A VlO2Tyo664fFF66qYxm8oLJZnXfggLe8oWvSCJ8b6yOstY/wAu5/uJlboc8MHIh0 MY/XzVQrJvLzUvRTXzBue6FhvC0BwJ5N2dwxX3wZjI5tjlMzW4fsDRKdRUQqswbK MhCaB2d7a5VSD9xdKkgmYtOKP7s9w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrledtgddufedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id E6E14328005A; Mon, 11 May 2020 15:35:16 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, David Hunt , stable@dpdk.org Date: Mon, 11 May 2020 21:35:15 +0200 Message-ID: <1688213.Zkmt1EvEu4@thomas> In-Reply-To: <11d12e160790fbf3e6d1abae121c33e82bd18d8c.1588848367.git.anatoly.burakov@intel.com> References: <11d12e160790fbf3e6d1abae121c33e82bd18d8c.1588848367.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v3] l3fwd-power: add Rx interrupt timeout X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 07/05/2020 12:46, Anatoly Burakov: > Currently, thread waiting on an interrupt does not have a timeout, so > it will not ever wake up until traffic arrives. This means that, when > time comes to exit the application, it will not quit unless there > happens to be traffic coming in and waking up the thread from sleep. > > Fix it so that the interrupt thread sleeps for 10ms before waking up > and attempting to poll again. Additionally, remove the log message > to avoid spamming about entering interrupt mode. > > Fixes: 613ce6691c0d ("examples/l3fwd-power: implement proper shutdown") > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov > Acked-by: David Hunt Applied, thanks