diff options
author | Dave Stevenson <dave.stevenson@raspberrypi.org> | 2018-06-25 16:07:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-26 15:53:29 +0200 |
commit | 2259b7a64d71f27311a19fd7a5bed47413d75985 (patch) | |
tree | a711f8418331c97edd34038b1b0471629ed39726 /fs | |
parent | r8152: napi hangup fix after disconnect (diff) | |
download | linux-2259b7a64d71f27311a19fd7a5bed47413d75985.tar.xz linux-2259b7a64d71f27311a19fd7a5bed47413d75985.zip |
net: lan78xx: Allow for VLAN headers in timeout calcs
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.
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions