commit | 7377647a3678c50c1913f05d8ad8d685b05e52d1 | [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 | c86ff7fdb2272e25c8abba2e36d4f28f9282cd37 [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>