diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-07-02 15:50:25 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-02 22:49:14 +0900 |
commit | 024cc792f9309f1342a2fd7bd5840e112b333687 (patch) | |
tree | 152a2efbf7c972cecef8680ea29e0dc1a4d64e21 /drivers/net/ethernet/hisilicon/hns3/hnae3.c | |
parent | 7a7056e3dfa6636989b821d890448ae49375bd22 (diff) | |
download | blackbird-obmc-linux-024cc792f9309f1342a2fd7bd5840e112b333687.tar.gz blackbird-obmc-linux-024cc792f9309f1342a2fd7bd5840e112b333687.zip |
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 'drivers/net/ethernet/hisilicon/hns3/hnae3.c')
0 files changed, 0 insertions, 0 deletions