[dpdk-dev] [PATCH] pmd_ring: free rings when detaching

2016-03-11 Thread Bruce Richardson
On Fri, Mar 11, 2016 at 04:54:49PM +, 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

[dpdk-dev] [PATCH] pmd_ring: free rings when detaching

2016-03-11 Thread Bruce Richardson
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

[dpdk-dev] [PATCH] pmd_ring: free rings when detaching

2016-03-07 Thread Mauricio Vasquez B
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