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 99BDEA0613 for ; Fri, 27 Sep 2019 12:53:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A63DA1BEF0; Fri, 27 Sep 2019 12:53:09 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 49DB51BEEF for ; Fri, 27 Sep 2019 12:53:08 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2019 03:53:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,555,1559545200"; d="scan'208";a="219734313" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by fmsmga002.fm.intel.com with ESMTP; 27 Sep 2019 03:53:06 -0700 Date: Fri, 27 Sep 2019 18:50:49 +0800 From: Ye Xiaolong To: Di ChenxuX Cc: dev@dpdk.org, qiming.yang@intel.com Message-ID: <20190927105049.GA112560@intel.com> References: <20190827050142.16010-1-chenxux.di@intel.com> <20190927090948.32909-1-chenxux.di@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190927090948.32909-1-chenxux.di@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v7 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/27, 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. > >--- >V7 changes: > Modified code on the last commit. >V6 changes: > Fixed check error. >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. > >Acked-by: Qiming Yang >Series Reviewed-by: Xiaolong Ye > >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 > Reviewed-by: Xiaolong Ye Applied to dpdk-next-net-intel.