[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] tg3 NIC driver bug in 3.14.x under Xen [and 3 more messages]
- To: <cascardo@xxxxxxxxxxxxxxxxxx>
- From: Michael Chan <mchan@xxxxxxxxxxxx>
- Date: Thu, 16 Apr 2015 09:39:13 -0700
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Sanjeev Bansal <sanjeevb@xxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Vlad Yasevich <vyasevich@xxxxxxxxx>, Prashant <prashant@xxxxxxxxxxxx>, "Siva Reddy \(Siva\) Kallam" <siva.kallam@xxxxxxxxxxxx>, David Vrabel <david.vrabel@xxxxxxxxxx>, netdev@xxxxxxxxxxxxxxx, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
- Delivery-date: Thu, 16 Apr 2015 16:39:20 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.org>
On Thu, 2015-04-16 at 09:24 -0300, cascardo@xxxxxxxxxxxxxxxxxx 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?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|