diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-10-08 13:44:33 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-10-16 21:37:39 +0200 |
commit | b59d5c8f0eebb6d15d7cefe487c17fad0ee4a524 (patch) | |
tree | cacf9795dc751fc9fa815d787abf16655d8b0f78 /target/linux/ramips/patches-5.4 | |
parent | ba9b6702aa3e95fa5a3a8aaa9e95c2d1e073f2f2 (diff) | |
download | upstream-b59d5c8f0eebb6d15d7cefe487c17fad0ee4a524.tar.gz upstream-b59d5c8f0eebb6d15d7cefe487c17fad0ee4a524.tar.bz2 upstream-b59d5c8f0eebb6d15d7cefe487c17fad0ee4a524.zip |
mediatek: rewrite flow offload code
The code is now much cleaner and works better than the old code.
Preparation for submitting it upstream (though with a different API)
Also add back MT7621 support and fix flow table coherence issues on
MT7622
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips/patches-5.4')
-rw-r--r-- | target/linux/ramips/patches-5.4/401-net-ethernet-mediatek-support-net-labels.patch | 4 |
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 39989ecca1..babd3d833c 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 -@@ -2887,6 +2887,7 @@ static const struct net_device_ops mtk_n +@@ -2919,6 +2919,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; -@@ -2979,6 +2980,9 @@ static int mtk_add_mac(struct mtk_eth *e +@@ -3011,6 +3012,9 @@ static int mtk_add_mac(struct mtk_eth *e eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH - MTK_RX_ETH_HLEN; |