Peter Chubb 7377647a36 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>
2016-10-13 12:25:29 -05:00
..
2016-02-05 12:47:23 +08:00
2016-09-21 14:55:14 +02:00
2016-02-06 12:00:59 +01:00
2015-08-11 13:27:15 -05:00
2016-08-15 15:29:03 -05:00
2016-10-13 12:25:21 -05:00
2016-05-02 18:37:09 -04:00
2015-11-05 08:22:21 +01:00
2016-09-21 15:04:32 +02:00
2016-01-07 12:18:58 -07:00
2016-08-15 15:29:03 -05:00
2015-09-11 17:14:43 -04:00
2015-09-11 17:14:43 -04:00