diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2016-06-27 05:05:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-29 04:16:11 -0400 |
commit | 742fb20fd4c75bd08733b0ea232c7e0fa67a6f87 (patch) | |
tree | efa4540ddbc94577007863016fc5dafd67ebb4db /scripts/mod/file2alias.c | |
parent | c37d4a0085c58d9e45930ead6acd13ac75a8fb67 (diff) |
net: ethernet: ti: cpdma: switch to use genalloc
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 <mugunthanvnm@ti.com>
Tested-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions