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>
Mon, 13 May 2019 23:08:02 +0000 (00:08 +0100)
commit13d8526c64d5551c2f55a70a461cd2c4446ad4bd
treeb3ea16e2936817cd562ed9d539a3d8969bc6b8fc
parentd52d91b920d4b6ae17adc42375649f1ae190006b
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