From: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx> Date: Mon, 16 Jan 2017 16:01:49 +0300 > On 01/16/2017 01:45 PM, Simon Horman wrote: > >> From: Masaru Nagai <masaru.nagai.vx@xxxxxxxxxxx> >> >> Due to alignment requirements of the hardware transmissions are split >> into >> two DMA descriptors, a small padding descriptor of 0 - 3 bytes in >> length >> followed by a descriptor for rest of the packet. >> >> In the case of IP packets the first descriptor will never be zero due >> to >> the way that the stack aligns buffers for IP packets. However, for >> non-IP >> packets it may be zero. >> >> In that case it has been reported that timeouts occur, presumably >> because >> transmission stops at the first zero-length DMA descriptor and thus >> the >> packet is not transmitted. However, in my environment a BUG is >> triggered as >> follows: > [...] > >> Fixes: 2f45d1902acf ("ravb: minimize TX data copying") >> Signed-off-by: Masaru Nagai <masaru.nagai.vx@xxxxxxxxxxx >> Signed-off-by: Simon Horman <horms+renesas@xxxxxxxxxxxx> > > Acked-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx> Applied and queued up for -stable, thanks.