Searched hist:"7377647 a3678c50c1913f05d8ad8d685b05e52d1" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | rtl8169.c | 7377647a3678c50c1913f05d8ad8d685b05e52d1 Wed Sep 14 01:29:03 UTC 2016 Peter Chubb <Peter.Chubb@data61.csiro.au> 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>
|