cd4747672de35ab1974506452463bb207379ef81
[openwrt/staging/robimarko.git] /
1 From b94b02a270471337bef73c44fa3493a521e31a61 Mon Sep 17 00:00:00 2001
2 Message-Id: <b94b02a270471337bef73c44fa3493a521e31a61.1662886034.git.lorenzo@kernel.org>
3 In-Reply-To: <e5ecb4f619197b93fa682d722452dc8412864cdb.1662886033.git.lorenzo@kernel.org>
4 References: <e5ecb4f619197b93fa682d722452dc8412864cdb.1662886033.git.lorenzo@kernel.org>
5 From: Lorenzo Bianconi <lorenzo@kernel.org>
6 Date: Mon, 5 Sep 2022 13:56:13 +0200
7 Subject: [PATCH net-next 5/5] net: ethernet: mtk_eth_soc: enable flow
8 offloading support for mt7986
9
10 Enable hw packet engine and wireless packet dispatcher for mt7986
11
12 Signed-off-by: Lorenzo Bianconi <lorenzo@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 @@ -4252,6 +4252,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 = {