diff options
| author | Cai Huoqing <caihuoqing@baidu.com> | 2021-09-26 09:52:14 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-09-27 15:25:25 +0300 |
| commit | 4247ef02693716f9df87c37a181b7120c7b24648 (patch) | |
| tree | 7345f490bafd0819dede23426136dfca37d9ef28 /scripts | |
| parent | f947fcaffd6a7e6bc6a5ff990e4125e501a7e68d (diff) | |
| download | linux-4247ef02693716f9df87c37a181b7120c7b24648.tar.xz | |
ibmveth: Use dma_alloc_coherent() instead of kmalloc/dma_map_single()
Replacing kmalloc/kfree/dma_map_single/dma_unmap_single()
with dma_alloc_coherent/dma_free_coherent() helps to reduce
code size, and simplify the code, and coherent DMA will not
clear the cache every time.
Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
