We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c88c157 commit 58ea461Copy full SHA for 58ea461
drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -1674,7 +1674,7 @@ static void mtk_update_rx_cpu_idx(struct mtk_eth *eth)
1674
1675
static bool mtk_page_pool_enabled(struct mtk_eth *eth)
1676
{
1677
- return eth->soc->version == 2;
+ return mtk_is_netsys_v2_or_greater(eth);
1678
}
1679
1680
static struct page_pool *mtk_create_page_pool(struct mtk_eth *eth,
0 commit comments