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 826DCA0613 for ; Mon, 23 Sep 2019 04:27:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1BB6E54AE; Mon, 23 Sep 2019 04:27:52 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 307DB44C3 for ; Mon, 23 Sep 2019 04:27:49 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Sep 2019 19:27:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,538,1559545200"; d="scan'208";a="203027364" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 22 Sep 2019 19:27:48 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 22 Sep 2019 19:27:47 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 22 Sep 2019 19:27:47 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.89]) with mapi id 14.03.0439.000; Mon, 23 Sep 2019 10:27:46 +0800 From: "Yang, Qiming" To: "Di, ChenxuX" , "dev@dpdk.org" Thread-Topic: [PATCH v4 0/5] drivers/net: release port upon close Thread-Index: AQHVbpqngkB4DfUUL062lm2Pu6tLeqc4j3sA Date: Mon, 23 Sep 2019 02:27:45 +0000 Message-ID: References: <20190827050142.16010-1-chenxux.di@intel.com> <20190919024742.8147-1-chenxux.di@intel.com> In-Reply-To: <20190919024742.8147-1-chenxux.di@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOGQ4OGVhNTItMGQ3Yi00ZTRhLTg3YzItZjhmYjM2NjU3YjU2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZUpzUlwvTDN3Y3NrVUY1MWY4Y09hYlFmTDhCeXBVaEhxV0w2NTBkUURkRXlBcFNYSkpvQ055NHNtR3dlSE9EN00ifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 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" > -----Original Message----- > From: Di, ChenxuX > Sent: Thursday, September 19, 2019 10:48 AM > To: dev@dpdk.org > Cc: Yang, Qiming ; Di, ChenxuX > > Subject: [PATCH v4 0/5] drivers/net: release port upon close >=20 > 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. >=20 > --- > 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. >=20 > 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 >=20 > doc/guides/rel_notes/release_19_11.rst | 5 + > 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 | 28 ++--- > drivers/net/ixgbe/ixgbe_ethdev.c | 167 +++++++++++++------------ > 7 files changed, 305 insertions(+), 292 deletions(-) >=20 > -- > 2.17.1 Acked-by: Qiming Yang