From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] pmd_ring: free rings when detaching Date: Fri, 11 Mar 2016 16:57:16 +0000 Message-ID: <20160311165716.GG19860@bricha3-MOBL3> References: <1457367631-22726-1-git-send-email-mauricio.vasquezbernal@studenti.polito.it> <20160311165449.GF19860@bricha3-MOBL3> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Mauricio Vasquez B Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9F8472B96 for ; Fri, 11 Mar 2016 17:57:21 +0100 (CET) Content-Disposition: inline In-Reply-To: <20160311165449.GF19860@bricha3-MOBL3> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Mar 11, 2016 at 04:54:49PM +0000, Bruce Richardson wrote: > 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 > Applied to dpdk-next-net/rel_16_04 /Bruce