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 0A670A0613 for ; Fri, 27 Sep 2019 04:46:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 71E891E34; Fri, 27 Sep 2019 04:46:09 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 1484423D for ; Fri, 27 Sep 2019 04:46:06 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 19:46:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,553,1559545200"; d="scan'208";a="193026601" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 26 Sep 2019 19:46:04 -0700 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 26 Sep 2019 19:46:04 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 26 Sep 2019 19:46:03 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by shsmsx102.ccr.corp.intel.com ([169.254.2.113]) with mapi id 14.03.0439.000; Fri, 27 Sep 2019 10:46:02 +0800 From: "Yang, Qiming" To: "Di, ChenxuX" , "dev@dpdk.org" CC: "Ye, Xiaolong" Thread-Topic: [PATCH v6 0/5] drivers/net: release port upon close Thread-Index: AQHVdFfKMmf8xnkVEUGct1NLU9Pai6c+0lLA Date: Fri, 27 Sep 2019 02:46:01 +0000 Message-ID: References: <20190827050142.16010-1-chenxux.di@intel.com> <20190926100015.53088-1-chenxux.di@intel.com> In-Reply-To: <20190926100015.53088-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2Q4MzJlOTItNjE0Zi00OTM4LTg0OTEtOWZjNjk0NDc1ZWIwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibFYwN3pKNVNGcmt5Vnd4ZVZ4dWl2Tkp4dFk1bG95QXhQTzdmZ28rZnJzS0dIOEU4TGtMOVdTdTdcL09YNEc4cDgifQ== 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 v6 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 26, 2019 6:00 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Di, ChenxuX > > Subject: [PATCH v6 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 > --- > 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. >=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 | 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(-) >=20 > -- > 2.17.1 Acked-by: Qiming Yang