aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0315-usb-gadget-ethernet-Re-enable-Jumbo-frames.patch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2019-08-02 18:55:55 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2019-08-02 18:55:55 +0200
commit00813d4dd976cc823fa089840ff2f4a10dd6cd0c (patch)
tree8f2c74a928c9ea0eceb64809d9039db824ae6663 /target/linux/brcm2708/patches-4.14/950-0315-usb-gadget-ethernet-Re-enable-Jumbo-frames.patch
parent19226502bf6393706defe7f049c587b32c9b4f33 (diff)
downloadupstream-00813d4dd976cc823fa089840ff2f4a10dd6cd0c.tar.gz
upstream-00813d4dd976cc823fa089840ff2f4a10dd6cd0c.tar.bz2
upstream-00813d4dd976cc823fa089840ff2f4a10dd6cd0c.zip
brcm2708: remove linux 4.14 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0315-usb-gadget-ethernet-Re-enable-Jumbo-frames.patch')
-rw-r--r--target/linux/brcm2708/patches-4.14/950-0315-usb-gadget-ethernet-Re-enable-Jumbo-frames.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0315-usb-gadget-ethernet-Re-enable-Jumbo-frames.patch b/target/linux/brcm2708/patches-4.14/950-0315-usb-gadget-ethernet-Re-enable-Jumbo-frames.patch
deleted file mode 100644
index 6442338a6c..0000000000
--- a/target/linux/brcm2708/patches-4.14/950-0315-usb-gadget-ethernet-Re-enable-Jumbo-frames.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 1810e953fd59ebb674c292a13eff8d56c88e1c7e Mon Sep 17 00:00:00 2001
-From: John Greb <h3x4m3r0n@gmail.com>
-Date: Sun, 6 May 2018 20:01:57 +0000
-Subject: [PATCH 315/454] usb: gadget ethernet: Re-enable Jumbo frames.
-
-Commit <eea52743eb5654ec6f52b0e8b4aefec952543697> upstream
-
-Fixes: <b3e3893e1253> ("net: use core MTU range checking")
-which patched only one of two functions used to setup the
-USB Gadget Ethernet driver, causing a serious performance
-regression in the ability to increase mtu size above 1500.
-
-Signed-off-by: John Greb <h3x4m3r0n@gmail.com>
-Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
----
- drivers/usb/gadget/function/u_ether.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/drivers/usb/gadget/function/u_ether.c
-+++ b/drivers/usb/gadget/function/u_ether.c
-@@ -848,6 +848,10 @@ struct net_device *gether_setup_name_def
- net->ethtool_ops = &ops;
- SET_NETDEV_DEVTYPE(net, &gadget_type);
-
-+ /* MTU range: 14 - 15412 */
-+ net->min_mtu = ETH_HLEN;
-+ net->max_mtu = GETHER_MAX_ETH_FRAME_LEN;
-+
- return net;
- }
- EXPORT_SYMBOL_GPL(gether_setup_name_default);