Skip to content
Commit 6f332519 authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
Browse files

net: lan78xx: Allow for VLAN headers in timeout.

The frame abort timeout being set by lan78xx_set_rx_max_frame_length
didn't account for any VLAN headers, resulting in very low
throughput if used with tagged VLANs.
Use VLAN_ETH_HLEN instead of ETH_HLEN to correct for this.

See https://github.com/raspberrypi/linux/issues/2458



Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.org>
parent 75f7f0c2
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