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 EB2EEA0613 for ; Thu, 26 Sep 2019 12:44:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B51ED4C8E; Thu, 26 Sep 2019 12:44:44 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 0B5854C77 for ; Thu, 26 Sep 2019 12:44:42 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 03:44:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,551,1559545200"; d="scan'208";a="389566214" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by fmsmga005.fm.intel.com with ESMTP; 26 Sep 2019 03:44:40 -0700 Date: Thu, 26 Sep 2019 18:42:26 +0800 From: Ye Xiaolong To: Di ChenxuX Cc: dev@dpdk.org, qiming.yang@intel.com Message-ID: <20190926104226.GB87434@intel.com> References: <20190827050142.16010-1-chenxux.di@intel.com> <20190926073008.46653-1-chenxux.di@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190926073008.46653-1-chenxux.di@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v5 0/5] drivers/net: release port upon close 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 09/26, Di ChenxuX wrote: >Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources > for the port can be freed by rte_eth_dev_close(). >This patch cover all the intel drivers. > >--- >V5 changes: > Added code in em_ethdev.c. > Separated the release note, each patch has its own note. >V4 changes: > Removed adaper stopped flag in function ice_dev_init. >V3 changes: > Removed adapter closed flag in driver e1000, fm10k, ice, ixgbe. >V2 changes: > Separated to 5 patches, each patch only change one driver. > Added resource release in dev_close. > >Di ChenxuX (5): > net/e1000: release port upon close > net/fm10k: release port upon close > net/i40e: release port upon close > net/ice: release port upon close > net/ixgbe: release port upon close > > doc/guides/rel_notes/release_19_11.rst | 18 +++ > drivers/net/e1000/em_ethdev.c | 33 ++--- > drivers/net/e1000/igb_ethdev.c | 144 ++++++++++----------- > drivers/net/fm10k/fm10k_ethdev.c | 100 ++++++++------- > drivers/net/i40e/i40e_ethdev.c | 128 +++++++++---------- > drivers/net/i40e/i40e_ethdev_vf.c | 25 ++-- > drivers/net/ice/ice_ethdev.c | 30 +++-- > drivers/net/ixgbe/ixgbe_ethdev.c | 167 +++++++++++++------------ > 8 files changed, 335 insertions(+), 310 deletions(-) > >-- >2.17.1 > Series Reviewed-by: Xiaolong Ye