[dpdk-stable] [PATCH 18.11] net/cxgbe: fix queue DMA ring leaks during port close

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 17:42:41 CET 2020


On 02/12/2020 16:45, Rahul Lakkireddy wrote:
> [ upstream commit 6b78a629954c3857d4bc651a673fe102958a12db ]
> 
> Free up the DMA memzones properly for all the port's queues during
> port close. So, rework DMA ring allocation/free logic to use
> rte_eth_dma_zone_reserve()/rte_eth_dma_zone_free() helper functions
> for allocating/freeing the memzones.
> 
> The firmware event queue doesn't have an associated freelist queue.
> So, remove check that tries to give memzone name for a non-existent
> freelist queue.
> 
> Also, add a missing free for the control queue mempools.
> 
> Fixes: 0462d115441d ("cxgbe: add device related operations")
> 
> Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy at chelsio.com>

Applied, thanks.



More information about the stable mailing list