[dpdk-dev] [PATCH] ring: add function to free a ring

2015-09-09 Thread De Lara Guarch, Pablo
> -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Monday, September 07, 2015 9:45 AM > To: De Lara Guarch, Pablo; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ring: add function to free a ring > > Hi Pablo, > > Plea

[dpdk-dev] [PATCH] ring: add function to free a ring

2015-09-07 Thread Olivier MATZ
Hi Pablo, Please find some comments below. On 08/18/2015 04:00 PM, Pablo de Lara wrote: > When creating a ring, a memzone is created to allocate it in memory, > but the ring could not be freed, as memzones could not be. > > Since memzones can be freed now, then rings can be as well, > taking int

[dpdk-dev] [PATCH] ring: add function to free a ring

2015-08-18 Thread Pablo de Lara
When creating a ring, a memzone is created to allocate it in memory, but the ring could not be freed, as memzones could not be. Since memzones can be freed now, then rings can be as well, taking into account if they were initialized using pre-allocated memory (in which case, memory should be freed