net: ethernet: mtk_eth_soc: add support for page_pool_get_stats
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 22 Jul 2022 07:19:40 +0000 (09:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2022 09:38:57 +0000 (10:38 +0100)
commit84b9cd389036d4a262d8cee794d56c04095358a7
tree4697b5d59e62df1830dde681b9747e473d16e37b
parent5886d26fd25bbe26130e3e5f7474b9b3e98a3469
net: ethernet: mtk_eth_soc: add support for page_pool_get_stats

Introduce support for the page_pool stats API into mtk_eth_soc driver.
Report page_pool stats through ethtool.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/Kconfig
drivers/net/ethernet/mediatek/mtk_eth_soc.c