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)
commitc2a2e1270a57696827da4ca69f78eb072e37d590
treee70d9e314e3dfcfb62f91df1c5194819316748a3
parente99a308da3c1518009a740c4d3962f616edeb642
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