aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.4/770-14-net-ethernet-mtk_eth_soc-set-PPE-flow-hash-as-skb-ha.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-10-08 13:44:33 +0200
committerFelix Fietkau <nbd@nbd.name>2020-10-16 21:37:39 +0200
commitb59d5c8f0eebb6d15d7cefe487c17fad0ee4a524 (patch)
treecacf9795dc751fc9fa815d787abf16655d8b0f78 /target/linux/generic/pending-5.4/770-14-net-ethernet-mtk_eth_soc-set-PPE-flow-hash-as-skb-ha.patch
parentba9b6702aa3e95fa5a3a8aaa9e95c2d1e073f2f2 (diff)
downloadupstream-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/generic/pending-5.4/770-14-net-ethernet-mtk_eth_soc-set-PPE-flow-hash-as-skb-ha.patch')
-rw-r--r--target/linux/generic/pending-5.4/770-14-net-ethernet-mtk_eth_soc-set-PPE-flow-hash-as-skb-ha.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-5.4/770-14-net-ethernet-mtk_eth_soc-set-PPE-flow-hash-as-skb-ha.patch b/target/linux/generic/pending-5.4/770-14-net-ethernet-mtk_eth_soc-set-PPE-flow-hash-as-skb-ha.patch
index 384af9d21d..60ac12c013 100644
--- a/target/linux/generic/pending-5.4/770-14-net-ethernet-mtk_eth_soc-set-PPE-flow-hash-as-skb-ha.patch
+++ b/target/linux/generic/pending-5.4/770-14-net-ethernet-mtk_eth_soc-set-PPE-flow-hash-as-skb-ha.patch
@@ -10,7 +10,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -1318,6 +1318,10 @@ static int mtk_poll_rx(struct napi_struc
+@@ -1316,6 +1316,10 @@ static int mtk_poll_rx(struct napi_struc
skb->protocol = eth_type_trans(skb, netdev);
bytes += pktlen;