]> 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)
commite81ce56d751d124b09f04c9d58fadaa51574fc67
treee70d9e314e3dfcfb62f91df1c5194819316748a3
parent4f0a7f4530c762cfe41ffff72ef3b8c5c4b4872b
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