openwrt/target/linux/ipq40xx/patches-4.14
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
..
030-mtd-nand-Use-standard-large-page-OOB-layout-when-usi.patch Kernel: bump 4.14 to 4.14.29 2018-03-23 23:49:55 +01:00
031-mtd-nand-use-usual-return-values-for-the-erase-hook.patch Kernel: bump 4.14 to 4.14.29 2018-03-23 23:49:55 +01:00
040-dmaengine-qcom-bam-Process-multiple-pending-descript.patch ipq40xx: fix build error 2019-11-20 09:27:15 +01:00
050-0002-mtd-nand-qcom-add-command-elements-in-BAM-transactio.patch ipq40xx: add target 2018-03-14 19:04:50 +01:00
050-0003-mtd-nand-qcom-support-for-command-descriptor-formati.patch kernel: bump kernel 4.14 to version 4.14.63 2018-08-15 22:31:56 +02:00
050-0004-mtd-nand-provide-several-helpers-to-do-common-NAND-o.patch Kernel: bump 4.14 to 4.14.29 2018-03-23 23:49:55 +01:00
050-0005-mtd-nand-force-drivers-to-explicitly-send-READ-PROG-.patch ipq40xx: add target 2018-03-14 19:04:50 +01:00
070-qcom-spm-fix-probe-order.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
071-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.patch ipq40xx: fix booting secondary CPU cores 2018-07-30 17:55:04 +02:00
072-qcom-ipq4019-add-cpu-operating-points-for-cpufreq-su.patch ipq40xx: fix booting secondary CPU cores 2018-07-30 17:55:04 +02:00
074-ARM-qcom-Add-IPQ4019-SoC-support.patch kernel: bump 4.14 to 4.14.172 2020-03-09 20:44:27 +01:00
075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
076-phy-qcom-ipq4019-usb-add-driver-for-QCOM-IPQ4019.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
077-qcom-ipq4019-add-USB-devicetree-nodes.patch ipq40xx: fix warning triggered by bad interrupt definition 2018-12-27 14:36:23 +01:00
078-ARM-dts-ipq4019-Add-a-few-peripheral-nodes.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
079-ARM-dts-ipq4019-fix-PCI-range.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
080-pinctrl-msm-fix-gpio-hog-related-boot-issues.patch kernel: bump 4.14 to 4.14.102 2019-02-22 10:53:42 +01:00
081-clk-fix-apss-cpu-overclocking.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
082-ARM-dts-ipq4019-Add-TZ-and-SMEM-reserved-regions.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
083-mtd-nand-add-Winbond-manufacturer-and-chip.patch ipq40xx: use patches that were sent upstream 2018-07-25 12:13:18 +02:00
084-ARM-dts-ipq4019-Add-a-default-chosen-node.patch ipq40xx: device-tree overhaul 2018-12-17 00:21:34 +01:00
085-mtd-nand-add-macronix-mx35lf1ge4ab.patch ipq40xx: add support for Macronix MX35LF1GE4AB SPI NAND 2019-02-26 00:15:38 +01:00
086-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch kernel: bump 4.14 to 4.14.104 2019-03-05 13:19:43 +01:00
087-ARM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch ipq40xx: fix pcie msi IRQ trigger level 2019-02-28 11:26:11 +01:00
088-0001-i2c-qup-fix-copyrights-and-update-to-SPDX-identifier.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0003-i2c-qup-minor-code-reorganization-for-use_dma.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0004-i2c-qup-remove-redundant-variables-for-BAM-SG-count.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0005-i2c-qup-schedule-EOT-and-FLUSH-tags-at-the-end-of-tr.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0006-i2c-qup-fix-the-transfer-length-for-BAM-RX-EOT-FLUSH.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0007-i2c-qup-proper-error-handling-for-i2c-error-in-BAM-m.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0008-i2c-qup-use-the-complete-transfer-length-to-choose-D.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0009-i2c-qup-change-completion-timeout-according-to-trans.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0010-i2c-qup-fix-buffer-overflow-for-multiple-msg-of-maxi.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0011-i2c-qup-send-NACK-for-last-read-sub-transfers.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0012-i2c-qup-reorganization-of-driver-code-to-remove-poll.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
088-0013-i2c-qup-reorganization-of-driver-code-to-remove-poll.patch ipq40xx: backport I2C QUP driver changes from 4.17 2019-03-08 19:28:31 +01:00
181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch ipq40xx: fix hw-crypto detection of qce driver 2019-09-28 19:11:34 +02:00
303-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch kernel: bump 4.14 to 4.14.171 2020-02-24 14:20:14 +01:00
700-net-add-qualcomm-mdio-and-phy.patch ipq40xx: fix phy interrupt setting 2019-03-13 16:25:34 +01:00
701-dts-ipq4019-add-mdio-node.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
702-dts-ipq4019-add-PHY-switch-nodes.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch ipq40xx: move essedma patches into same range 2018-07-25 12:13:19 +02:00
706-ar40xx-abort-probe-on-missig-phy.patch ipq40xx: abort ar40xx probe on missing PHYs 2019-09-25 22:50:24 +02:00
710-net-add-qualcomm-essedma-ethernet-driver.patch ipq40xx: essedma: Fix dead lock 2019-10-20 15:16:31 +02:00
711-dts-ipq4019-add-ethernet-essedma-node.patch kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
712-mr33-essedma.patch ipq40xx: add Cisco Meraki MR33 Support 2018-03-14 19:04:52 +01:00
713-essedma-alloc-skb-ip-align.patch ipq40xx: move essedma patches into same range 2018-07-25 12:13:19 +02:00
714-essedma-add-fix-for-memory-allocation.patch ipq40xx: essedma: Add fix for memory allocation issues 2019-03-24 21:17:41 +01:00
715-essedma-Disable-TCP-segmentation-offload-for-IPv6.patch ipq40xx: essedma: Disable TCP segmentation offload for IPv6 2020-06-13 17:39:17 +02:00
850-soc-add-qualcomm-syscon.patch ipq40xx: add target 2018-03-14 19:04:50 +01:00
900-dts-ipq4019-ap-dk01.1.patch ipq40xx: device-tree overhaul 2018-12-17 00:21:34 +01:00
901-arm-boot-add-dts-files.patch ipq40xx: add support for AVM FRITZ!Repeater 1200 2019-11-22 22:32:58 +01:00
997-device_tree_cmdline.patch kernel: bump 4.14 to 4.14.51 2018-06-26 08:57:21 +02:00