diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-10-28 13:15:37 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-11-09 18:18:27 +0100 |
commit | ceb1451c10c1588fd009021c0226823a9959e266 (patch) | |
tree | 1daad207e6a593ea946439a9d6ff6f353419dda1 /target/linux/ramips/patches-5.15 | |
parent | 2426dbb73402599d43c4c16146bd031a81c0bbc7 (diff) | |
download | upstream-ceb1451c10c1588fd009021c0226823a9959e266.tar.gz upstream-ceb1451c10c1588fd009021c0226823a9959e266.tar.bz2 upstream-ceb1451c10c1588fd009021c0226823a9959e266.zip |
kernel: add mediatek soc ethernet performance improvements
- implement multiqueue via qdma hardware shaper to deal with ports with different speeds
- implement hardware DSA untagging
- add NETIF_F_ALL_TSO to reduce unnecessary segmentation
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.patch | 8 |
1 files changed, 4 insertions, 4 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 d8ce3051b7..74e8f999ab 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 -@@ -3736,6 +3736,7 @@ static const struct net_device_ops mtk_n +@@ -3918,6 +3918,7 @@ static const struct net_device_ops mtk_n static int mtk_add_mac(struct mtk_eth *eth, struct device_node *np) { @@ -22,9 +22,9 @@ 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; -@@ -3855,6 +3856,9 @@ static int mtk_add_mac(struct mtk_eth *e - else - eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH_2K - MTK_RX_ETH_HLEN; +@@ -4046,6 +4047,9 @@ static int mtk_add_mac(struct mtk_eth *e + register_netdevice_notifier(&mac->device_notifier); + } + if (name) + strlcpy(eth->netdev[id]->name, name, IFNAMSIZ); |