diff options
author | 2016-06-27 12:05:11 +0300 | |
---|---|---|
committer | 2016-06-29 04:16:11 -0400 | |
commit | 742fb20fd4c75bd08733b0ea232c7e0fa67a6f87 (patch) | |
tree | efa4540ddbc94577007863016fc5dafd67ebb4db /net/unix/af_unix.c | |
parent | Maxim/driver: Add driver for maxim ds26522 (diff) | |
download | linux-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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions