[dpdk-dev] [PATCH v2] enic: fix free function to actually free memory

2016-06-28 Thread Bruce Richardson
On Thu, Jun 23, 2016 at 04:14:58PM -0700, Nelson Escobar wrote: > enic_alloc_consistent() allocated memory, but enic_free_consistent() > was an empty function, so allocated memory was never freed. > > This commit adds a list and lock to the enic structure to keep track > of the memzones allocated

[dpdk-dev] [PATCH v2] enic: fix free function to actually free memory

2016-06-23 Thread Nelson Escobar
enic_alloc_consistent() allocated memory, but enic_free_consistent() was an empty function, so allocated memory was never freed. This commit adds a list and lock to the enic structure to keep track of the memzones allocated in enic_alloc_consistent(), and enic_free_consistent() uses that informati