dcef5ff2893408ab170ad4d43542ef68a362d12f
[openwrt/staging/neocturne.git] /
1 From 1b9827ceab08450308f7971d6fd700ec88b6ce67 Mon Sep 17 00:00:00 2001
2 From: Lorenzo Bianconi <lorenzo@kernel.org>
3 Date: Sat, 3 Dec 2022 14:20:37 +0100
4 Subject: [PATCH 098/250] net: mtk_eth_soc: enable flow offload support for
5 MT7986 SoC
6
7 Since Wireless Ethernet Dispatcher is now available for mt7986 in mt76,
8 enable hw flow support for MT7986 SoC.
9
10 Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
11 Link: https://lore.kernel.org/r/fdcaacd827938e6a8c4aa1ac2c13e46d2c08c821.1670072898.git.lorenzo@kernel.org
12 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
13 ---
14 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 +
15 1 file changed, 1 insertion(+)
16
17 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
18 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
19 @@ -4331,6 +4331,7 @@ static const struct mtk_soc_data mt7986_
20 .hw_features = MTK_HW_FEATURES,
21 .required_clks = MT7986_CLKS_BITMAP,
22 .required_pctl = false,
23 + .offload_version = 2,
24 .hash_offset = 4,
25 .foe_entry_size = sizeof(struct mtk_foe_entry),
26 .txrx = {