net: mvneta: dcache flush TX descriptors at init
authorRabeeh Khoury <rabeeh@solid-run.com>
Tue, 19 Jun 2018 18:36:50 +0000 (21:36 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 2 Jul 2018 19:14:20 +0000 (14:14 -0500)
commit0f8888b763fdc24e506b538ab521848e0566f9ca
tree8f6df0a1e74ee994bdfa9140e798fa6bb4db4276
parent6dc73df73b2b95ec171d82558c2a0ed1437d8c0a
net: mvneta: dcache flush TX descriptors at init

This fixes sporadic timeout on initial packet Tx (usually ARP), with an
error message like:

  timeout: packet not sent

Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Chris Packham <judge.packham@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
drivers/net/mvneta.c