aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/patches-4.9/200-disable-tso.patch
diff options
context:
space:
mode:
authorPaul Wassi <p.wassi@gmx.at>2017-03-10 19:10:29 +0100
committerMathias Kresin <dev@kresin.me>2017-07-04 16:29:07 +0200
commit9808b9ae0248f0e2b525493f10752b2b9fc9fde4 (patch)
tree49c36ed203fd79d89e06a5e1cf833e469d2a236c /target/linux/kirkwood/patches-4.9/200-disable-tso.patch
parent08c499f865a1a42ed50e70c8ff68b9916a5033f1 (diff)
downloadupstream-9808b9ae0248f0e2b525493f10752b2b9fc9fde4.tar.gz
upstream-9808b9ae0248f0e2b525493f10752b2b9fc9fde4.tar.bz2
upstream-9808b9ae0248f0e2b525493f10752b2b9fc9fde4.zip
kirkwood: switch to kernel 4.9
Add patches-4.9, some of them (heavily) rewritten: - ea4500 is upstream available, keep only LEDE changes in dts - ea3500 is changed to match the structure of the upstream ea4500 dts - nsa310s rewritten to include the common dtsi - nsa325 is dropped, since already upstream Signed-off-by: Paul Wassi <p.wassi@gmx.at> Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it> [refresh kernel config, add on100, use the switchdev based mv88e6171 driver for the linksys boards, keep lede specific rootfs/kernel partition names for linksys boards, reorder patches] Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/kirkwood/patches-4.9/200-disable-tso.patch')
-rw-r--r--target/linux/kirkwood/patches-4.9/200-disable-tso.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/target/linux/kirkwood/patches-4.9/200-disable-tso.patch b/target/linux/kirkwood/patches-4.9/200-disable-tso.patch
new file mode 100644
index 0000000000..cde53d0218
--- /dev/null
+++ b/target/linux/kirkwood/patches-4.9/200-disable-tso.patch
@@ -0,0 +1,35 @@
+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
+@@ -3197,11 +3197,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;