Re: [PATCH v3] net: ethernet: ti: cpdma: switch to use genalloc
From: David Miller <davem@davemloft.net>
Date: 2016-06-29 08:19:44
Also in:
linux-omap, lkml
From: David Miller <davem@davemloft.net>
Date: 2016-06-29 08:19:44
Also in:
linux-omap, lkml
From: Grygorii Strashko <grygorii.strashko@ti.com> Date: Mon, 27 Jun 2016 12:05:11 +0300
TI CPDMA currently uses a bitmap for tracking descriptors alloactions allocations, but The genalloc already handles the same and can be used as with special memory (SRAM) as with DMA cherent memory chank (dma_alloc_coherent()). Hence, switch to using genalloc and add desc_num property for each channel for limitation of max number of allowed descriptors for each CPDMA channel. This patch do not affect on net throuput. Acked-by: Mugunthan V N <redacted> Tested-by: Ivan Khoronzhuk <redacted> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Applied, thanks.