aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-5.15
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-11-25 01:56:29 +0100
committerFelix Fietkau <nbd@nbd.name>2022-11-25 01:56:53 +0100
commit3dff6b53db1c568b957e7bde15eb5e049ea978ce (patch)
treebcf652598f6bc95e37775dd87b756b9fba3aae7f /target/linux/ramips/patches-5.15
parentc1d1202e67dc929e58c4d6d1f2698363cbf1b6f7 (diff)
downloadupstream-3dff6b53db1c568b957e7bde15eb5e049ea978ce.tar.gz
upstream-3dff6b53db1c568b957e7bde15eb5e049ea978ce.tar.bz2
upstream-3dff6b53db1c568b957e7bde15eb5e049ea978ce.zip
kernel: fix mtk_eth_soc issue when using secondary GMAC on MT7621/MT7622
The CDMQ ingress special tag flag needs to be set for 7986 even without DSA untag offload, otherwise tx checksum offload seems to break Fixes: 9b482ee22f3f ("kernel: add more fixes for mtk_eth_soc") Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips/patches-5.15')
-rw-r--r--target/linux/ramips/patches-5.15/700-net-ethernet-mediatek-support-net-labels.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/patches-5.15/700-net-ethernet-mediatek-support-net-labels.patch b/target/linux/ramips/patches-5.15/700-net-ethernet-mediatek-support-net-labels.patch
index c447793eae..8e666ec53d 100644
--- a/target/linux/ramips/patches-5.15/700-net-ethernet-mediatek-support-net-labels.patch
+++ b/target/linux/ramips/patches-5.15/700-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
-@@ -4021,6 +4021,7 @@ static const struct net_device_ops mtk_n
+@@ -3994,6 +3994,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);
phy_interface_t phy_mode;
struct phylink *phylink;
-@@ -4149,6 +4150,9 @@ static int mtk_add_mac(struct mtk_eth *e
+@@ -4122,6 +4123,9 @@ static int mtk_add_mac(struct mtk_eth *e
register_netdevice_notifier(&mac->device_notifier);
}