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

Bruce Richardson bruce.richardson at intel.com
Fri Mar 11 17:54:49 CET 2016


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 <mauricio.vasquezbernal at studenti.polito.it>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list