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 D26EAA04B5; Tue, 29 Sep 2020 18:49:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A2D3F1DA05; Tue, 29 Sep 2020 18:49:25 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 289481D9CE for ; Tue, 29 Sep 2020 18:49:24 +0200 (CEST) IronPort-SDR: IU2ac5+RZ2e2gFmDX2NdIpUlGZ5+7Ha6P1ahp5C30IQib2VsFJh0aR/cRoAxtCCsnIpN0zE/jt G8XFrVKc/hhw== X-IronPort-AV: E=McAfee;i="6000,8403,9759"; a="163110516" X-IronPort-AV: E=Sophos;i="5.77,319,1596524400"; d="scan'208";a="163110516" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 09:49:21 -0700 IronPort-SDR: wl0nThdhHKxdwneVojouXcjMNme3QsfUZwH2j7Wdt2kL+c0gLmXcy+miMxPwhShPAJmgKgR7rQ EoMCevpPaGJw== X-IronPort-AV: E=Sophos;i="5.77,319,1596524400"; d="scan'208";a="492192374" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.220.198]) ([10.213.220.198]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Sep 2020 09:49:20 -0700 To: Thomas Monjalon , dev@dpdk.org Cc: arybchenko@solarflare.com, Anatoly Burakov References: <20200913220711.3768597-1-thomas@monjalon.net> <20200928231437.414489-1-thomas@monjalon.net> <20200928231437.414489-16-thomas@monjalon.net> From: Ferruh Yigit Message-ID: Date: Tue, 29 Sep 2020 17:49:18 +0100 MIME-Version: 1.0 In-Reply-To: <20200928231437.414489-16-thomas@monjalon.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3 15/29] net/pcap: 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 9/29/2020 12:14 AM, Thomas Monjalon wrote: > The flag RTE_ETH_DEV_CLOSE_REMOVE is set so all port resources > can be freed by rte_eth_dev_close(). > > Freeing of private port resources is moved > from the ".remove(device)" to the ".dev_close(port)" operation. > > Signed-off-by: Thomas Monjalon Reviewed-by: Ferruh Yigit