diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-11-10 22:24:54 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-11-10 22:27:18 +0100 |
commit | 04b8ad60fd92b375cf661a56afb853344c95ca99 (patch) | |
tree | c37f189dd828fe99f66a7158671747ea434fc295 /target/linux/ramips | |
parent | 161b22d103decd82868e8e3c3fe09b88cf64724c (diff) | |
download | upstream-04b8ad60fd92b375cf661a56afb853344c95ca99.tar.gz upstream-04b8ad60fd92b375cf661a56afb853344c95ca99.tar.bz2 upstream-04b8ad60fd92b375cf661a56afb853344c95ca99.zip |
kernel: more fixes for mtk_eth_soc performance optimization
- fix features sync between netdevs
- fix crash in dsa_switch_rcv
Fixes: ceb1451c10c1 ("kernel: add mediatek soc ethernet performance improvements")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/patches-5.15/700-net-ethernet-mediatek-support-net-labels.patch | 4 |
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 74e8f999ab..c447793eae 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 -@@ -3918,6 +3918,7 @@ static const struct net_device_ops mtk_n +@@ -4021,6 +4021,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; -@@ -4046,6 +4047,9 @@ static int mtk_add_mac(struct mtk_eth *e +@@ -4149,6 +4150,9 @@ static int mtk_add_mac(struct mtk_eth *e register_netdevice_notifier(&mac->device_notifier); } |