Re: [PATCH 10/10] dp8393x: Don't clobber packet checksum

2019-12-14 Thread Philippe Mathieu-Daudé
On 12/14/19 2:25 AM, Finn Thain wrote: A received packet consumes pkt_size bytes in the buffer and the frame checksum that's appended to it consumes another 4 bytes. The Receive Buffer Address register takes the former quantity into account but not the latter. So the next packet written to the bu

[PATCH 10/10] dp8393x: Don't clobber packet checksum

2019-12-13 Thread Finn Thain
A received packet consumes pkt_size bytes in the buffer and the frame checksum that's appended to it consumes another 4 bytes. The Receive Buffer Address register takes the former quantity into account but not the latter. So the next packet written to the buffer overwrites the frame checksum. Fix t