aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/b53/b53_mmap.c
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2016-06-27 12:05:11 +0300
committerDavid S. Miller <davem@davemloft.net>2016-06-29 04:16:11 -0400
commit742fb20fd4c75bd08733b0ea232c7e0fa67a6f87 (patch)
treeefa4540ddbc94577007863016fc5dafd67ebb4db /drivers/net/dsa/b53/b53_mmap.c
parentMaxim/driver: Add driver for maxim ds26522 (diff)
downloadlinux-dev-742fb20fd4c75bd08733b0ea232c7e0fa67a6f87.tar.xz
linux-dev-742fb20fd4c75bd08733b0ea232c7e0fa67a6f87.zip
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 '')
0 files changed, 0 insertions, 0 deletions