diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-07-02 10:50:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-02 16:49:14 +0300 |
commit | 024cc792f9309f1342a2fd7bd5840e112b333687 (patch) | |
tree | 152a2efbf7c972cecef8680ea29e0dc1a4d64e21 /net/unix/af_unix.c | |
parent | 7a7056e3dfa6636989b821d890448ae49375bd22 (diff) | |
download | linux-024cc792f9309f1342a2fd7bd5840e112b333687.tar.xz |
net: hns3: use dma_zalloc_coherent instead of kzalloc/dma_map_single
Reference to Documentation/DMA-API-HOWTO.txt,
Streaming DMA mappings which are usually mapped for one DMA transfer,
Network card DMA ring descriptors should use Consistent DMA mappings.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.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