From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5878FC43461 for ; Thu, 3 Sep 2020 12:30:46 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 029F7206E7 for ; Thu, 3 Sep 2020 12:30:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 029F7206E7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA9EA1BEAF; Thu, 3 Sep 2020 14:30:44 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 7A2ED255 for ; Thu, 3 Sep 2020 14:30:42 +0200 (CEST) IronPort-SDR: NXHO5kBMZazCYYQW942k+BJNyS4lCoK39rb4rFkfKUAz+q8V/L1LuP5XXH8bXc6ah4pu28cYOp lolK5yRmFbBw== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="175617019" X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="175617019" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 05:30:39 -0700 IronPort-SDR: CdP4zsW4GT8ugREa6xb4QaEeTFqfAeKC61sj+TwNj64+jf25kdTktES+RV5Eu6yISATljEMS12 HYljKc8YaPpA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="339265740" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by FMSMGA003.fm.intel.com with ESMTP; 03 Sep 2020 05:30:39 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 3 Sep 2020 05:30:39 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 3 Sep 2020 20:30:37 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Thu, 3 Sep 2020 20:30:37 +0800 From: "Zhang, Qi Z" To: "Yang, SteveX" , "Yang, Qiming" , "Xing, Beilei" , "Wu, Jingjing" , "dev@dpdk.org" CC: "Yang, SteveX" Thread-Topic: [dpdk-dev] [PATCH] net/iavf: release port upon close Thread-Index: AQHWb7GtL9YrvV8LV0agUg7V8BP5iKlW/Gtw Date: Thu, 3 Sep 2020 12:30:37 +0000 Message-ID: <2d4594ddc07541a583b55e6354c0974a@intel.com> References: <20200811072752.20813-1-stevex.yang@intel.com> In-Reply-To: <20200811072752.20813-1-stevex.yang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/iavf: 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: dev On Behalf Of SteveX Yang > Sent: Tuesday, August 11, 2020 3:28 PM > To: Yang, Qiming ; Xing, Beilei > ; Wu, Jingjing ; > dev@dpdk.org > Cc: Yang, SteveX > Subject: [dpdk-dev] [PATCH] net/iavf: 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(). >=20 > Signed-off-by: SteveX Yang Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi