diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2023-07-27 09:07:28 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-28 18:47:26 -0700 |
commit | 88efedf517e69a4b12e4dd40c44c2e298f53fa83 (patch) | |
tree | d5a95c2f58bfcbd52d2644875ace1797d90b91ec /drivers/net/ethernet/mediatek/mtk_eth_soc.c | |
parent | 58ea461b690cb093ef3f502e51adbb03d2ea61d8 (diff) | |
download | linux-stable-88efedf517e69a4b12e4dd40c44c2e298f53fa83.tar.gz linux-stable-88efedf517e69a4b12e4dd40c44c2e298f53fa83.tar.bz2 linux-stable-88efedf517e69a4b12e4dd40c44c2e298f53fa83.zip |
net: ethernet: mtk_eth_soc: enable nft hw flowtable_offload for MT7988 SoC
Enable hw Packet Process Engine (PPE) for MT7988 SoC.
Tested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/5e86341b0220a49620dadc02d77970de5ded9efc.1690441576.git.lorenzo@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mediatek/mtk_eth_soc.c')
-rw-r--r-- | drivers/net/ethernet/mediatek/mtk_eth_soc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c index bd1e4921c7b4..05be702f19c5 100644 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c @@ -5062,6 +5062,9 @@ static const struct mtk_soc_data mt7988_data = { .required_clks = MT7988_CLKS_BITMAP, .required_pctl = false, .version = 3, + .offload_version = 2, + .hash_offset = 4, + .foe_entry_size = MTK_FOE_ENTRY_V3_SIZE, .txrx = { .txd_size = sizeof(struct mtk_tx_dma_v2), .rxd_size = sizeof(struct mtk_rx_dma_v2), |