aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-4.4/0509-net-next-mediatek-add-support-for-mt7621.patch
diff options
context:
space:
mode:
authorMichael Lee <igvtee@gmail.com>2017-04-27 09:04:31 +0800
committerJo-Philipp Wich <jo@mein.io>2017-12-13 15:33:04 +0100
commit108a42bcbae14f224116511b619755abd8f57c77 (patch)
tree5a10bbc79a088b3abdd7ed3d07b1dc573d8456cd /target/linux/ramips/patches-4.4/0509-net-next-mediatek-add-support-for-mt7621.patch
parent8d4c047dd1983720081329d591b76ff5dc95af2d (diff)
downloadupstream-108a42bcbae14f224116511b619755abd8f57c77.tar.gz
upstream-108a42bcbae14f224116511b619755abd8f57c77.tar.bz2
upstream-108a42bcbae14f224116511b619755abd8f57c77.zip
ramips: support jumbo frame on mt7621 up to 2k
Signed-off-by: Michael Lee <igvtee@gmail.com> (cherry picked from commit eee09bfe01e8cc2db1501f82dde7b9b6bb424faf)
Diffstat (limited to 'target/linux/ramips/patches-4.4/0509-net-next-mediatek-add-support-for-mt7621.patch')
-rw-r--r--target/linux/ramips/patches-4.4/0509-net-next-mediatek-add-support-for-mt7621.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/patches-4.4/0509-net-next-mediatek-add-support-for-mt7621.patch b/target/linux/ramips/patches-4.4/0509-net-next-mediatek-add-support-for-mt7621.patch
index 6920545f0c..6ea97c1ae4 100644
--- a/target/linux/ramips/patches-4.4/0509-net-next-mediatek-add-support-for-mt7621.patch
+++ b/target/linux/ramips/patches-4.4/0509-net-next-mediatek-add-support-for-mt7621.patch
@@ -163,7 +163,7 @@ Signed-off-by: Michael Lee <igvtee@gmail.com>
+
+ priv->flags = FE_FLAG_PADDING_64B | FE_FLAG_RX_2B_OFFSET |
+ FE_FLAG_RX_SG_DMA | FE_FLAG_NAPI_WEIGHT |
-+ FE_FLAG_HAS_SWITCH;
++ FE_FLAG_HAS_SWITCH | FE_FLAG_JUMBO_FRAME;
+
+ netdev->hw_features = NETIF_F_IP_CSUM | NETIF_F_RXCSUM |
+ NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_SG | NETIF_F_TSO |