[][MAC80211][hnat][Fix patch fail issue]
[Description]
Fix patch fail issue.
[Release-log]
N/A
Change-Id: Ia6bcdbb09292494665ed7b86d1d2db1195efa619
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8006662
diff --git a/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/999-3006-ethernet-update-ppe-from-mt7622-to-mt7986.patch b/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/999-3006-ethernet-update-ppe-from-mt7622-to-mt7986.patch
index dcfd527..57a21d3 100755
--- a/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/999-3006-ethernet-update-ppe-from-mt7622-to-mt7986.patch
+++ b/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/999-3006-ethernet-update-ppe-from-mt7622-to-mt7986.patch
@@ -51,7 +51,7 @@
.required_pctl = false,
.has_sram = false,
+ .offload_version = 2,
- .rss_num = 0,
+ .rss_num = 4,
.txrx = {
.txd_size = sizeof(struct mtk_tx_dma_v2),
.rxd_size = sizeof(struct mtk_rx_dma),
diff --git a/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/999-3012-ethernet-update-ppe-backward-compatible-two-way-hash.patch b/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/999-3012-ethernet-update-ppe-backward-compatible-two-way-hash.patch
index 554a0ee..338939e 100755
--- a/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/999-3012-ethernet-update-ppe-backward-compatible-two-way-hash.patch
+++ b/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/999-3012-ethernet-update-ppe-backward-compatible-two-way-hash.patch
@@ -18,7 +18,7 @@
.has_sram = false,
+ .hash_way = 2,
.offload_version = 2,
- .rss_num = 0,
+ .rss_num = 0,
.txrx = {
@@ -4573,6 +4575,7 @@ static const struct mtk_soc_data mt7621_
.required_clks = MT7621_CLKS_BITMAP,
@@ -26,7 +26,7 @@
.has_sram = false,
+ .hash_way = 2,
.offload_version = 2,
- .rss_num = 0,
+ .rss_num = 0,
.txrx = {
@@ -4589,6 +4592,7 @@ static const struct mtk_soc_data mt7622_
.required_clks = MT7622_CLKS_BITMAP,
@@ -34,7 +34,7 @@
.has_sram = false,
+ .hash_way = 2,
.offload_version = 2,
- .rss_num = 0,
+ .rss_num = 0,
.txrx = {
@@ -4604,6 +4608,7 @@ static const struct mtk_soc_data mt7623_
.required_clks = MT7623_CLKS_BITMAP,
@@ -42,7 +42,7 @@
.has_sram = false,
+ .hash_way = 2,
.offload_version = 2,
- .rss_num = 0,
+ .rss_num = 0,
.txrx = {
@@ -4635,6 +4640,7 @@ static const struct mtk_soc_data mt7986_
.required_clks = MT7986_CLKS_BITMAP,
@@ -50,7 +50,7 @@
.has_sram = false,
+ .hash_way = 4,
.offload_version = 2,
- .rss_num = 0,
+ .rss_num = 4,
.txrx = {
@@ -4651,6 +4657,8 @@ static const struct mtk_soc_data mt7981_
.required_clks = MT7981_CLKS_BITMAP,
@@ -58,7 +58,7 @@
.has_sram = false,
+ .hash_way = 4,
+ .offload_version = 2,
- .rss_num = 0,
+ .rss_num = 4,
.txrx = {
.txd_size = sizeof(struct mtk_tx_dma_v2),
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.h b/drivers/net/ethernet/mediatek/mtk_eth_soc.h