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 BB958A04C9; Mon, 14 Sep 2020 10:51:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 931ED1C0CA; Mon, 14 Sep 2020 10:51:12 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 04CC91C0C0 for ; Mon, 14 Sep 2020 10:51:10 +0200 (CEST) IronPort-SDR: MRjduhuviGodL2aX0EYt17xn5XO9HjEWKgXba0hLjWc0itaFFBU73EhU0hXmX4PRhPltlwk63/ WwurCGbsAVRQ== X-IronPort-AV: E=McAfee;i="6000,8403,9743"; a="146738426" X-IronPort-AV: E=Sophos;i="5.76,425,1592895600"; d="scan'208";a="146738426" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2020 01:51:10 -0700 IronPort-SDR: H6K9zES7j8ix1aClAYpBNuRk/OQQzArIdXGn8Z98uGZYK/0CLAondfgOuQXFDirICTYUFekvFf BTxUyebDxihQ== X-IronPort-AV: E=Sophos;i="5.76,425,1592895600"; d="scan'208";a="482257434" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.7.231]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 14 Sep 2020 01:51:09 -0700 Date: Mon, 14 Sep 2020 09:51:05 +0100 From: Bruce Richardson To: Thomas Monjalon Cc: dev@dpdk.org, ferruh.yigit@intel.com, arybchenko@solarflare.com Message-ID: <20200914085105.GE737@bricha3-MOBL.ger.corp.intel.com> References: <20200913220711.3768597-1-thomas@monjalon.net> <20200913220711.3768597-14-thomas@monjalon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200913220711.3768597-14-thomas@monjalon.net> Subject: Re: [dpdk-dev] [PATCH 13/20] net/ring: 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 Mon, Sep 14, 2020 at 12:07:04AM +0200, 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 > --- Acked-by: Bruce Richardson