net: lan78xx: Disable TCP Segmentation Offload (TSO)
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Wed, 13 Jun 2018 14:21:10 +0000 (15:21 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:12:55 +0000 (19:12 +0000)
commit47e0b7b0179d6022cfdaaf45666bc576517ccb02
treeecf2e225ace6cc02fb0a495a54e171da47586e81
parent7344ee112217863b7a4182eb652b2054a9f62f29
net: lan78xx: Disable TCP Segmentation Offload (TSO)

TSO seems to be having issues when packets are dropped and the
remote end uses Selective Acknowledge (SACK) to denote that
data is missing. The missing data is never resent, so the
connection eventually stalls.

There is a module parameter of enable_tso added to allow
further debugging without forcing a rebuild of the kernel.

https://github.com/raspberrypi/linux/issues/2449
https://github.com/raspberrypi/linux/issues/2482

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/net/usb/lan78xx.c