From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 305152B96 for ; Fri, 11 Mar 2016 17:54:53 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 11 Mar 2016 08:54:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,321,1455004800"; d="scan'208";a="64382042" Received: from cberenge-mobl.ger.corp.intel.com ([10.252.22.153]) by fmsmga004.fm.intel.com with SMTP; 11 Mar 2016 08:54:50 -0800 Received: by (sSMTP sendmail emulation); Fri, 11 Mar 2016 16:54:49 +0025 Date: Fri, 11 Mar 2016 16:54:49 +0000 From: Bruce Richardson To: Mauricio Vasquez B Message-ID: <20160311165449.GF19860@bricha3-MOBL3> References: <1457367631-22726-1-git-send-email-mauricio.vasquezbernal@studenti.polito.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1457367631-22726-1-git-send-email-mauricio.vasquezbernal@studenti.polito.it> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] pmd_ring: free rings when detaching X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 16:54:53 -0000 On Mon, Mar 07, 2016 at 05:20:31PM +0100, Mauricio Vasquez B wrote: > When a device is created with "CREATE" as action, new rings are > allocated for it, then it is a good practice to free them when the > rte_ethdev_dettach method is invoked by the application. > > Rings are not freeded when "ATTACH" is used or when the device is > created by means of the rte_eth_from_rings function. > > Signed-off-by: Mauricio Vasquez B Acked-by: Bruce Richardson