Michael Chan writes ("Re: tg3 NIC driver bug in 3.14.x under Xen [and 3 more
messages]"):
> On Thu, 2015-04-16 at 09:24 -0300, [email protected] wrote:
> > Yes, this looks like the driver is not syncing the DMA buffers. Unmap is
> > supposed to synchronize as well.
>
> For small rx packets (< 256 bytes), we sync the DMA buffer before we
> copy the data to another SKB. For larger packets, we unmap the DMA
> buffer. Do we see the corruption in both cases?
Yes, at least with swiotlb=force iommu=soft.
Ian.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html