]> git.baikalelectronics.ru Git - kernel.git/commit
gve: Fixes DMA synchronization.
authorYangchun Fu <yangchun@google.com>
Fri, 1 Nov 2019 17:09:56 +0000 (10:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Nov 2019 22:00:05 +0000 (15:00 -0700)
commit9cfeeb576d49a7b5e643b8066ba64a55e8417c5d
treeb15f25e27fc5ea1a0463cd1d175de1339dc2c253
parenta904a0693c189691eeee64f6c6b188bd7dc244e9
gve: Fixes DMA synchronization.

Synces the DMA buffer properly in order for CPU and device to see
the most up-to-data data.

Signed-off-by: Yangchun Fu <yangchun@google.com>
Reviewed-by: Catherine Sullivan <csully@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/google/gve/gve_rx.c
drivers/net/ethernet/google/gve/gve_tx.c