commit | 1b0d36abee8085a1ed18151e50a9f831afbdbd93 | [log] [tgz] |
---|---|---|
author | Peter Chubb <Peter.Chubb@data61.csiro.au> | Wed Sep 14 01:29:03 2016 +0000 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Oct 13 12:25:29 2016 -0500 |
tree | 3505578bf558c212ac7a96a61079ac612b5a657b | |
parent | 3071f07284fa3b2beb26e19f7c3ce1a7dbda7f2a [diff] |
rtl8169: fix cache misalignment message on transmit. 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. Signed-off-by: Peter Chubb <peter.chubb@data61.csiro.au> Acked-by: Joe Hershberger <joe.hershberger@ni.com>