net: mtk_eth_soc: enable flow offload support for MT7986 SoC
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 3 Dec 2022 13:20:37 +0000 (14:20 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 6 Dec 2022 02:11:13 +0000 (18:11 -0800)
Since Wireless Ethernet Dispatcher is now available for mt7986 in mt76,
enable hw flow support for MT7986 SoC.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/fdcaacd827938e6a8c4aa1ac2c13e46d2c08c821.1670072898.git.lorenzo@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c

index 8b93dab791411532a9f45774ce8d1c3b06c00c30..e3de9a53b2d9aa181092a9d81c06b6b6b237e390 100644 (file)
@@ -4593,6 +4593,7 @@ static const struct mtk_soc_data mt7986_data = {
        .hw_features = MTK_HW_FEATURES,
        .required_clks = MT7986_CLKS_BITMAP,
        .required_pctl = false,
+       .offload_version = 2,
        .hash_offset = 4,
        .foe_entry_size = sizeof(struct mtk_foe_entry),
        .txrx = {