openwrt/target/linux/ipq40xx
Sven Eckelmann b515edb775 ipq40xx: essedma: Disable TCP segmentation offload for IPv6
It was noticed that the the whole MAC can hang when transferring data from
one ar40xx port (WAN ports) to the CPU and from the CPU back to another
ar40xx port (LAN ports). The CPU was doing only NATing in that process.

Usually, the problem first starts with a simple data corruption:

  $ wget https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.4.0-amd64-netinst.iso -O /dev/null
  ...
  Connecting to saimei.ftp.acc.umu.se (saimei.ftp.acc.umu.se)|2001:6b0:19::138|:443... connected.
  ...
  Read  error at byte 48807936/352321536 (Decryption has failed.). Retrying.

But after a short while, the whole MAC will stop to react. No traffic can
be transported anymore from the CPU port from/to the AR40xx PHY/switch and
the MAC has to be resetted.

The whole problem can be avoided by disabling IPv6 TSO for this ethernet
MAC driver.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Acked-by: John Crispin <john@phrozen.org>
(backported from commit 6785695056, with
updated commit message)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-06-13 17:39:17 +02:00
..
base-files ipq40xx: add support for AVM FRITZ!Repeater 1200 2019-11-22 22:32:58 +01:00
files-4.14/arch/arm/boot/dts ipq40xx: add support for AVM FRITZ!Repeater 1200 2019-11-22 22:32:58 +01:00
generic ipqx0xx: add Generic subtarget 2019-11-03 22:26:07 +01:00
image ipq40xx: use ath10k-ct-smallbuffers for 128 MiB devices 2019-12-26 16:19:58 +01:00
patches-4.14 ipq40xx: essedma: Disable TCP segmentation offload for IPv6 2020-06-13 17:39:17 +02:00
profiles ipq40xx: add target 2018-03-14 19:04:50 +01:00
config-4.14 ipq40xx: add support for ASUS Lyra 2019-02-14 16:56:15 +01:00
Makefile ipqx0xx: add Generic subtarget 2019-11-03 22:26:07 +01:00