diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-05-19 23:10:43 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-05-20 14:01:21 +0200 |
commit | 82dcbec727ea205e61b659b1e91d207e29af35f0 (patch) | |
tree | 8211360040c611919e5bc057d2f1e07741b0b4ea /target/linux/ramips/patches-4.4/0509-net-next-mediatek-add-support-for-mt7621.patch | |
parent | 94e23bf7409d6cc4c9efb55ed32aba8e5a497966 (diff) | |
download | mtk-20170518-82dcbec727ea205e61b659b1e91d207e29af35f0.zip mtk-20170518-82dcbec727ea205e61b659b1e91d207e29af35f0.tar.gz mtk-20170518-82dcbec727ea205e61b659b1e91d207e29af35f0.tar.bz2 |
ramips: remove fake vlan rx offload from ethernet driver
The network stack does not need it to do GRO
Signed-off-by: Felix Fietkau <nbd@nbd.name>
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.patch | 5 |
1 files changed, 2 insertions, 3 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 4014539..4db202a 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 @@ -21,7 +21,7 @@ Signed-off-by: Michael Lee <igvtee@gmail.com> --- /dev/null +++ b/drivers/net/ethernet/mediatek/soc_mt7621.c -@@ -0,0 +1,186 @@ +@@ -0,0 +1,185 @@ +/* This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License @@ -146,8 +146,7 @@ Signed-off-by: Michael Lee <igvtee@gmail.com> + + /* mt7621 doesn't have txcsum config */ + mt7621_rxcsum_config((dev->features & NETIF_F_RXCSUM)); -+ mt7621_rxvlan_config((dev->features & NETIF_F_HW_VLAN_CTAG_RX) && -+ (priv->flags & FE_FLAG_RX_VLAN_CTAG)); ++ mt7621_rxvlan_config(priv->flags & FE_FLAG_RX_VLAN_CTAG); + + return 0; +} |