On Sun, 9 Aug 2015, Jeff Rizzo wrote:
This would seem to indicate a problem with the particular interface
(awge0), perhaps specific to the odroid-c1, as opposed to some l2
cache controller issue, which is kind of where I was leaning before.
However, my banana pi has awge0 as well, but does not exhibit this
corruption.
The following awge patch fixes it for me:
Index: dwc_gmac.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ic/dwc_gmac.c,v
retrieving revision 1.33
diff -u -p -r1.33 dwc_gmac.c
--- dwc_gmac.c 12 Jun 2015 11:54:39 -0000 1.33
+++ dwc_gmac.c 21 Aug 2015 18:43:13 -0000
@@ -917,7 +917,7 @@ dwc_gmac_queue(struct dwc_gmac_softc *sc
data->td_active = map;
bus_dmamap_sync(sc->sc_dmat, map, 0, map->dm_mapsize,
- BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE);
+ BUS_DMASYNC_PREWRITE);
/* Pass first to device */
sc->sc_txq.t_desc[first].ddesc_status =