Re: [Qemu-devel] [PATCH V2 2/2] Fix lan9118 buffer length handling

2014-01-07 Thread Peter Crosthwaite
On Wed, Jan 8, 2014 at 2:19 PM, Roy Franz wrote: > The 9118 ethernet controller supports transmission of multi-buffer packets > with arbitrary byte alignment of the start and end bytes. All writes to > the packet fifo are 32 bits, so the controller discards bytes at the beginning > and end of eac

[Qemu-devel] [PATCH V2 2/2] Fix lan9118 buffer length handling

2014-01-07 Thread Roy Franz
The 9118 ethernet controller supports transmission of multi-buffer packets with arbitrary byte alignment of the start and end bytes. All writes to the packet fifo are 32 bits, so the controller discards bytes at the beginning and end of each buffer based on the 'Data start offset' and 'Buffer size