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 04C4AA00BE for ; Wed, 29 Apr 2020 14:28:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CC47D1DA97; Wed, 29 Apr 2020 14:28:05 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id C96511D9E9; Wed, 29 Apr 2020 14:28:01 +0200 (CEST) IronPort-SDR: d0EQN3igaL1Jj3kP4E9kg1zfZwv6EI4/mU5KObY96BDeJ9gYjNyekYhFifICpz3vDRUL5LVZfq dlOY+W3Vqj6A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2020 05:28:00 -0700 IronPort-SDR: ZwF10m41RwHYnNZJRXCYIRLnUUV5iGsEXI5qbPiYr7odDoSYqSHFZYZi+mM5T1niTWnJmKIGcT L5G4S8j+sQKA== X-IronPort-AV: E=Sophos;i="5.73,332,1583222400"; d="scan'208";a="432541236" Received: from dhunt5-mobl5.ger.corp.intel.com (HELO [10.213.193.225]) ([10.213.193.225]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2020 05:27:59 -0700 To: Anatoly Burakov , dev@dpdk.org Cc: stable@dpdk.org References: <0ebd62205da8cd9964dcd370a69cc5a38f54dede.1588162894.git.anatoly.burakov@intel.com> From: "Hunt, David" Message-ID: Date: Wed, 29 Apr 2020 13:27:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <0ebd62205da8cd9964dcd370a69cc5a38f54dede.1588162894.git.anatoly.burakov@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-stable] [PATCH] 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" On 29/4/2020 1:21 PM, Anatoly Burakov wrote: > 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. > > Fixes: 613ce6691c0d ("examples/l3fwd-power: implement proper shutdown") > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov > --- > Acked-by: David Hunt