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 47C90A04B1; Wed, 23 Sep 2020 18:44:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 755551C2AE; Wed, 23 Sep 2020 18:44:12 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 9324F1C205 for ; Wed, 23 Sep 2020 18:44:10 +0200 (CEST) IronPort-SDR: xKgiDUbO6X+NwEvSfvwqvlSEOpnBqQ2x+Z5gFd0MSHUG06WM/qxnWhSNCz8UFWIkavj5WcofCP C4sWojQJfDiA== X-IronPort-AV: E=McAfee;i="6000,8403,9753"; a="245773335" X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="245773335" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 09:44:09 -0700 IronPort-SDR: 8FhTUbdCpN0GJ+Xjwptecph1auTu/05U+VT3QPMZy9sDpwk1dSSwIe2feWIWnt2iS5blnSMMl0 XMYtBqNbMWjg== X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="305447968" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.218.147]) ([10.213.218.147]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 09:44:08 -0700 To: Thomas Monjalon , dev@dpdk.org Cc: arybchenko@solarflare.com References: <20200913220711.3768597-1-thomas@monjalon.net> From: Ferruh Yigit Message-ID: <6cf21c8f-83ba-c964-4325-a15d6253af29@intel.com> Date: Wed, 23 Sep 2020 17:44:07 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 MIME-Version: 1.0 In-Reply-To: <20200913220711.3768597-1-thomas@monjalon.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH 00/20] cleanup ethdev close operation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/13/2020 11:06 PM, Thomas Monjalon wrote: > This is the end of a process started two years ago, > to have a close which reliably releases an ethdev port > without the need of removing the device (which can have more ports). > > Unfortunately, some drivers might be broken because did not follow > the migration recommendations. We cannot wait more, > this should be merged before the 20.11-rc1 release. > > > Steve Yang (1): > net/iavf: release port upon close > > Thomas Monjalon (18): > ethdev: reset device and interrupt pointers on release > ethdev: allow drivers to return error on close > net/af_packet: release port upon close > net/atlantic: release port upon close > net/axgbe: release port upon close > net/bonding: release port upon close > net/failsafe: release port upon close > net/mlx4: release port upon close > net/null: release port upon close > net/octeontx: release port upon close > net/pcap: release port upon close > net/ring: release port upon close > net/softnic: release port upon close > ethdev: remove old close behaviour > drivers/net: accept removing device without any port > drivers/net: remove redundant MAC addresses freeing > app/testpmd: reset port status on close notification > app/testpmd: align behaviour of multi-port detach > > Yunjian Wang (1): > net/tap: release port upon close > Hi Thomas, this requires rebase, specially cxgbe & enic has relevant code changes after the set.