aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2018-07-02 15:50:25 +0800
committerDavid S. Miller <davem@davemloft.net>2018-07-02 22:49:14 +0900
commit024cc792f9309f1342a2fd7bd5840e112b333687 (patch)
tree152a2efbf7c972cecef8680ea29e0dc1a4d64e21 /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c
parentnet: hns3: give default option while dependency HNS3 set (diff)
downloadlinux-dev-024cc792f9309f1342a2fd7bd5840e112b333687.tar.xz
linux-dev-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/hns3pf/hclge_mdio.c')
0 files changed, 0 insertions, 0 deletions