diff --git a/core/linux-kirkwood/0001-disable-mv643xx_eth-TSO.patch b/core/linux-kirkwood/0001-disable-mv643xx_eth-TSO.patch new file mode 100644 index 000000000..25c228e15 --- /dev/null +++ b/core/linux-kirkwood/0001-disable-mv643xx_eth-TSO.patch @@ -0,0 +1,25 @@ +From 311bb4a115f653ff9f3202873303483007906c8f Mon Sep 17 00:00:00 2001 +From: Kevin Mihelich +Date: Sun, 31 Aug 2014 08:45:13 -0600 +Subject: [PATCH] disable mv643xx_eth TSO + +--- + drivers/net/ethernet/marvell/mv643xx_eth.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c +index b151a94..e04af62 100644 +--- a/drivers/net/ethernet/marvell/mv643xx_eth.c ++++ b/drivers/net/ethernet/marvell/mv643xx_eth.c +@@ -3110,7 +3110,7 @@ static int mv643xx_eth_probe(struct platform_device *pdev) + 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; +-- +1.9.0 + diff --git a/core/linux-kirkwood/PKGBUILD b/core/linux-kirkwood/PKGBUILD index e9e1ed0cf..6342c5dc0 100644 --- a/core/linux-kirkwood/PKGBUILD +++ b/core/linux-kirkwood/PKGBUILD @@ -7,8 +7,8 @@ pkgbase=linux-kirkwood _kernelname=${pkgbase#linux} _desc="Marvell Kirkwood" pkgver=3.16.1 -pkgrel=1 -cryptodev_commit=8af0fe8a977f33236d3e00306ac3648063052704 +pkgrel=2 +cryptodev_commit=6aa62a2c320b04f55fdfe0ed015c3d9b48997239 bfqver=v7r5 arch=('arm') @@ -22,6 +22,7 @@ source=("ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-${pkgver}.tar.xz" 'config' 'mach-types::http://www.arm.linux.org.uk/developer/machines/download.php' 'usb-add-reset-resume-quirk-for-several-webcams.patch' + '0001-disable-mv643xx_eth-TSO.patch' #"git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs3.x-rcN" "git://git.code.sf.net/p/aufs/aufs3-standalone#branch=aufs${pkgver:0:4}" "https://github.com/cryptodev-linux/cryptodev-linux/archive/${cryptodev_commit}.tar.gz" @@ -32,10 +33,11 @@ source=("ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-${pkgver}.tar.xz" md5sums=('e7a985a243b7941b6bc6240fcbc797fc' '20c0aa36ce1a9c5ef082b2e2f56a0a22' '12719b92f36a68479f5c841d742f6208' - '32ab173e527cc8d339a4ed0f16cf5890' - '9b5a265440abf57d2052838f31486a3a' 'SKIP' - '32ba4029bb418a2f9a71738eb2d6d3a8' + '9b5a265440abf57d2052838f31486a3a' + '09d44b9f07abfaeaf4f688ee52034786' + 'SKIP' + 'ddf7876487c876f6676ef0e050e9d204' '27b45e15c3f9855792808498af21f664' '812c18775a53e337f1b2c7cd9078bff1' 'e903ed2c79546d2f0ec41e7e631c62f7') @@ -56,6 +58,10 @@ msg2 "Applying aufs3 patches" patch -Np1 -i ../aufs3-standalone/aufs3-mmap.patch patch -Np1 -i ../aufs3-standalone/aufs3-standalone.patch +msg2 "Disable buggy TCP segmentation offload implementation" +msg2 "http://archlinuxarm.org/forum/viewtopic.php?f=9&t=7692" + patch -Np1 -i ${srcdir}/0001-disable-mv643xx_eth-TSO.patch + msg2 "Add the USB_QUIRK_RESET_RESUME for several webcams" # FS#26528 patch -Np1 -i "${srcdir}/usb-add-reset-resume-quirk-for-several-webcams.patch"