mediatek: remove obsolete patch
authorDaniel Golle <daniel@makrotopia.org>
Wed, 2 Nov 2022 11:27:47 +0000 (11:27 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 2 Nov 2022 11:41:50 +0000 (11:41 +0000)
The patch enabling hardware flow offloading support on the MT7623 SoC
has been merged upstream as of Linux 5.13. Remove our local patch which
wrongly got forward-ported and now actually enables hardware flow
offloading for the MT2701 SoC family (unsupported in OpenWrt).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/patches-5.15/510-net-mediatek-add-flow-offload-for-mt7623.patch [deleted file]

diff --git a/target/linux/mediatek/patches-5.15/510-net-mediatek-add-flow-offload-for-mt7623.patch b/target/linux/mediatek/patches-5.15/510-net-mediatek-add-flow-offload-for-mt7623.patch
deleted file mode 100644 (file)
index 1f1f6e0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-From 4823778b116c08e9c55dbc5b5042223289ea6a0c Mon Sep 17 00:00:00 2001
-From: Frank Wunderlich <frank-w@public-files.de>
-Date: Wed, 31 Mar 2021 15:34:37 +0200
-Subject: [PATCH] net: mediatek: add flow offload for mt7623
-
-mt7623 uses offload version 2 too
-
-tested on Bananapi-R2
-
-Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
----
- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -4166,6 +4166,7 @@ static const struct mtk_soc_data mt2701_
-       .hw_features = MTK_HW_FEATURES,
-       .required_clks = MT7623_CLKS_BITMAP,
-       .required_pctl = true,
-+      .offload_version = 2,
-       .txrx = {
-               .txd_size = sizeof(struct mtk_tx_dma),
-               .rxd_size = sizeof(struct mtk_rx_dma),