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 A74D1A04B7 for ; Tue, 13 Oct 2020 16:49:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 386A31DCD5; Tue, 13 Oct 2020 16:49:30 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id B93AD1DC8F; Tue, 13 Oct 2020 16:49:25 +0200 (CEST) IronPort-SDR: AAV8B7GM+E9kktdsGvV4hMQwJMVYIn+vopsFm+dHTHkmqGnHC7fIsXBrHbIgFwXTI3DXU5WPqB 4nLhPvjToFtw== X-IronPort-AV: E=McAfee;i="6000,8403,9772"; a="165130986" X-IronPort-AV: E=Sophos;i="5.77,371,1596524400"; d="scan'208";a="165130986" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2020 07:49:23 -0700 IronPort-SDR: DMIVUEjpvLg/6rzlDfQk914ulD+tEWBrTsy5tv14YzB3ejgi/FIEHz7EliPo4kjU1W+ZmmcyUw VMmWPjUveUOw== X-IronPort-AV: E=Sophos;i="5.77,371,1596524400"; d="scan'208";a="530418111" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.214.64]) ([10.213.214.64]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Oct 2020 07:49:22 -0700 To: Gaetan Rivet , dev@dpdk.org Cc: longli@microsoft.com, stable@dpdk.org References: From: Ferruh Yigit Message-ID: <17ea8dd8-c747-8f4c-2337-c32ff7fe1ee0@intel.com> Date: Tue, 13 Oct 2020 15:49:18 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH] net/failsafe: fix state synchro cleanup 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 10/12/2020 3:19 PM, Gaetan Rivet wrote: > During a hotplug attempt, failsafe will try to bring a subdevice that > just appeared to its internal state. On error, the subdevice is marked > for removal and will be cleaned up. > > However failsafe_dev_remove() only remove active devices. Devices that > failed during probe will be stuck in DEV_PARSED state repeatedly. > > Consider all devices when doing a removal round, but limit burst control > and stats saving to active devices. > > Fixes: 598fb8aec6f6 ("net/failsafe: support device removal") > Cc: stable@dpdk.org > Signed-off-by: Gaetan Rivet Applied to dpdk-next-net/main, thanks.