aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-5.4/401-net-ethernet-mediatek-support-net-labels.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-08-27 06:39:48 +0200
committerFelix Fietkau <nbd@nbd.name>2020-09-01 17:01:56 +0200
commitb5d425af237dc03327078d6b9be178a38b5f8723 (patch)
tree42448318e13eef9ff603b01ebc3088a32ce617ec /target/linux/ramips/patches-5.4/401-net-ethernet-mediatek-support-net-labels.patch
parent6541028598b4a1079ee6182c5b50d6bcd9e21002 (diff)
downloadupstream-b5d425af237dc03327078d6b9be178a38b5f8723.tar.gz
upstream-b5d425af237dc03327078d6b9be178a38b5f8723.tar.bz2
upstream-b5d425af237dc03327078d6b9be178a38b5f8723.zip
mediatek/ramips: unify ethernet driver fixes and add performance optimizations
Increase DMA burst size and tx ring size and optimize tx processing Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips/patches-5.4/401-net-ethernet-mediatek-support-net-labels.patch')
-rw-r--r--target/linux/ramips/patches-5.4/401-net-ethernet-mediatek-support-net-labels.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/patches-5.4/401-net-ethernet-mediatek-support-net-labels.patch b/target/linux/ramips/patches-5.4/401-net-ethernet-mediatek-support-net-labels.patch
index 3332587671..66f1b12618 100644
--- a/target/linux/ramips/patches-5.4/401-net-ethernet-mediatek-support-net-labels.patch
+++ b/target/linux/ramips/patches-5.4/401-net-ethernet-mediatek-support-net-labels.patch
@@ -14,7 +14,7 @@ Signed-off-by: René van Dorst <opensource@vdorst.com>
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -2793,6 +2793,7 @@ static const struct net_device_ops mtk_n
+@@ -2856,6 +2856,7 @@ static const struct net_device_ops mtk_n
static int mtk_add_mac(struct mtk_eth *eth, struct device_node *np)
{
@@ -22,7 +22,7 @@ Signed-off-by: René van Dorst <opensource@vdorst.com>
const __be32 *_id = of_get_property(np, "reg", NULL);
struct phylink *phylink;
int phy_mode, id, err;
-@@ -2885,6 +2886,9 @@ static int mtk_add_mac(struct mtk_eth *e
+@@ -2948,6 +2949,9 @@ static int mtk_add_mac(struct mtk_eth *e
eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH - MTK_RX_ETH_HLEN;