aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/patches-4.14/200-disable-tso.patch
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-04-28 11:52:40 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-04-28 16:49:31 +0200
commit0af2c44604e64617bfb8084da2021e557160a5da (patch)
treeaa2e3d96c07da5b4a622d968fc55e11a2233bc29 /target/linux/kirkwood/patches-4.14/200-disable-tso.patch
parent4fd7e539e4f90128bdd7cb71c729a4b32f5de86e (diff)
downloadupstream-0af2c44604e64617bfb8084da2021e557160a5da.tar.gz
upstream-0af2c44604e64617bfb8084da2021e557160a5da.tar.bz2
upstream-0af2c44604e64617bfb8084da2021e557160a5da.zip
kirkwood: remove support for kernel 4.14
kirkwood has moved to DSA on 5.4, which will make kernel 4.14 and 4.19 support broken on the affected devices. Support on kernel 5.4 seems to have been running fine for almost 2 months on multiple devices. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/kirkwood/patches-4.14/200-disable-tso.patch')
-rw-r--r--target/linux/kirkwood/patches-4.14/200-disable-tso.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/target/linux/kirkwood/patches-4.14/200-disable-tso.patch b/target/linux/kirkwood/patches-4.14/200-disable-tso.patch
deleted file mode 100644
index cdd7fc803e..0000000000
--- a/target/linux/kirkwood/patches-4.14/200-disable-tso.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
-Subject: [PATCH] net: mv643xx_eth: Make TSO disabled by default
-
-Data corruption has been observed to be produced by TSO. For instance,
-accessing files on a NFS-server with TSO enabled results in different data
-transferred each time.
-
-This has been observed only on Kirkwood platforms, i.e. with the mv643xx_eth
-driver. Same tests on platforms using the mvneta ethernet driver have
-passed without errors.
-
-Make TSO disabled by default for now, until we can found a proper fix
-for the regression.
-
-Fixes: 3ae8f4e0b98 ('net: mv643xx_eth: Implement software TSO')
-Reported-by: Slawomir Gajzner <slawomir.gajzner <at> gmail.com>
-Reported-by: Julien D'Ascenzio <jdascenzio <at> yahoo.fr>
-Signed-off-by: Ezequiel Garcia <ezequiel.garcia <at> free-electrons.com>
----
---- a/drivers/net/ethernet/marvell/mv643xx_eth.c
-+++ b/drivers/net/ethernet/marvell/mv643xx_eth.c
-@@ -3205,11 +3205,11 @@ static int mv643xx_eth_probe(struct plat
- dev->watchdog_timeo = 2 * HZ;
- dev->base_addr = 0;
-
-- dev->features = NETIF_F_SG | NETIF_F_IP_CSUM | NETIF_F_TSO;
-+ dev->features = NETIF_F_SG | NETIF_F_IP_CSUM;
- dev->vlan_features = dev->features;
-
- dev->features |= NETIF_F_RXCSUM;
-- dev->hw_features = dev->features;
-+ dev->hw_features = dev->features | NETIF_F_TSO;
-
- dev->priv_flags |= IFF_UNICAST_FLT;
- dev->gso_max_segs = MV643XX_MAX_TSO_SEGS;