diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-07-12 18:15:19 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-07-20 04:11:05 +0100 |
commit | 932366fdd97090f909cec2c5f1dffeebd2806998 (patch) | |
tree | e86df13bd483c09971c4c03ca18f5ad8d67ee512 /target/linux/mediatek/patches-5.10 | |
parent | bce7777222887ac0356b2a2311dd16486cc2cc05 (diff) | |
download | upstream-932366fdd97090f909cec2c5f1dffeebd2806998.tar.gz upstream-932366fdd97090f909cec2c5f1dffeebd2806998.tar.bz2 upstream-932366fdd97090f909cec2c5f1dffeebd2806998.zip |
mediatek: mt7623: import patch to fix flow offloading
Hardware flow offloading was reported to work when setting the right
version identifier. Import a patch from Frank Wunderlich doing that.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek/patches-5.10')
-rw-r--r-- | target/linux/mediatek/patches-5.10/510-net-mediatek-add-flow-offload-for-mt7623.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.10/510-net-mediatek-add-flow-offload-for-mt7623.patch b/target/linux/mediatek/patches-5.10/510-net-mediatek-add-flow-offload-for-mt7623.patch new file mode 100644 index 0000000000..27bc1a60b2 --- /dev/null +++ b/target/linux/mediatek/patches-5.10/510-net-mediatek-add-flow-offload-for-mt7623.patch @@ -0,0 +1,24 @@ +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 +@@ -3272,6 +3272,7 @@ static const struct mtk_soc_data mt7623_ + .hw_features = MTK_HW_FEATURES, + .required_clks = MT7623_CLKS_BITMAP, + .required_pctl = true, ++ .offload_version = 2, + }; + + static const struct mtk_soc_data mt7629_data = { |