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

Bruce Richardson bruce.richardson at intel.com
Fri Mar 11 17:57:16 CET 2016


On Fri, Mar 11, 2016 at 04:54:49PM +0000, 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 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>
> 
Applied to dpdk-next-net/rel_16_04

/Bruce



More information about the dev mailing list