]> 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)
commit2b1119821efd00d6605c4008c2d2a5b7325f77ee
treeb15f25e27fc5ea1a0463cd1d175de1339dc2c253
parent42ba4b25064e5b5807cd68b0e3761f6806f0a02e
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