724-v6.2-net-ethernet-mtk_eth_soc-enable-flow-offloading-supp.patch 1.1 KB

1234567891011121314151617181920212223242526
  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 <[email protected]>
  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. Enable hw packet engine and wireless packet dispatcher for mt7986
  10. Signed-off-by: Lorenzo Bianconi <[email protected]>
  11. ---
  12. drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 +
  13. 1 file changed, 1 insertion(+)
  14. --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
  15. +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
  16. @@ -4254,6 +4254,7 @@ static const struct mtk_soc_data mt7986_
  17. .hw_features = MTK_HW_FEATURES,
  18. .required_clks = MT7986_CLKS_BITMAP,
  19. .required_pctl = false,
  20. + .offload_version = 2,
  21. .hash_offset = 4,
  22. .foe_entry_size = sizeof(struct mtk_foe_entry),
  23. .txrx = {