diff mbox series

[net-next] net: mediatek: add flow offload for mt7623

Message ID 20210331133437.75269-1-frank-w@public-files.de (mailing list archive)
State New, archived
Headers show
Series [net-next] net: mediatek: add flow offload for mt7623 | expand

Commit Message

Frank Wunderlich March 31, 2021, 1:34 p.m. UTC
mt7623 uses offload version 2 too

tested on Bananapi-R2

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 +
 1 file changed, 1 insertion(+)

--
2.25.1

Comments

Frank Wunderlich April 18, 2021, 12:20 p.m. UTC | #1
Hi,

any comment?

regards Frank


> Gesendet: Mittwoch, 31. März 2021 um 15:34 Uhr
> Von: "Frank Wunderlich" <frank-w@public-files.de>
> Betreff: [PATCH][net-next] net: mediatek: add flow offload for mt7623
>
> mt7623 uses offload version 2 too
> 
> tested on Bananapi-R2
diff mbox series

Patch

diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index 0396f0db855f..810def064f11 100644
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -3202,6 +3202,7 @@  static const struct mtk_soc_data mt7623_data = {
 	.hw_features = MTK_HW_FEATURES,
 	.required_clks = MT7623_CLKS_BITMAP,
 	.required_pctl = true,
+	.offload_version = 2,
 };

 static const struct mtk_soc_data mt7629_data = {