Re: [U-Boot] [PATCH v2] rtl8169: fix cache misalignment message on transmit.

2016-09-14 Thread Nicolas Chauvet
2016-09-14 3:29 GMT+02:00 : > The call to flush cache on the transmit buffer was misplaced (for very > short packets) and asked to flush less than a cacheline. > > Move the flush cache call to after a short packet has been padded > to minimum length (so the padding is

[U-Boot] [PATCH v2] rtl8169: fix cache misalignment message on transmit.

2016-09-13 Thread Peter.Chubb
The call to flush cache on the transmit buffer was misplaced (for very short packets) and asked to flush less than a cacheline. Move the flush cache call to after a short packet has been padded to minimum length (so the padding is flushed too), and round the size up to a cacheline.