]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: streaming dma buffer sync between cpu and device
authorBarry Song <song.bao.hua@hisilicon.com>
Thu, 18 Jun 2020 01:02:11 +0000 (13:02 +1200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jun 2020 03:43:10 +0000 (20:43 -0700)
commit5d02ce570d3972638c4cba9df76d336f696fe8cd
treee70d9e314e3dfcfb62f91df1c5194819316748a3
parent1cc04e5276274ad0d812c297ecafa0023177c3a9
net: hns3: streaming dma buffer sync between cpu and device

Right now they are empty functions for our SoC since hardware can keep
cache coherent, but it is still good to align with streaming DMA APIs
as device drivers should not make an assumption of SoC.

Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c