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:54:49 +0000 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 Cc: dev@dpdk.org To: Mauricio Vasquez B 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) Content-Disposition: inline In-Reply-To: <1457367631-22726-1-git-send-email-mauricio.vasquezbernal@studenti.polito.it> 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 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