Skip to content
Commit 7377647a authored by Peter Chubb's avatar Peter Chubb Committed by Joe Hershberger
Browse files

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: default avatarPeter Chubb <peter.chubb@data61.csiro.au>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent c86ff7fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment