Files
linux/drivers/net/ethernet/mediatek
Stefan Roese ad79fd2c42 net: ethernet: mtk_eth_soc: Fix packet statistics support for MT7628/88
The MT7628/88 SoC(s) have other (limited) packet counter registers than
currently supported in the mtk_eth_soc driver. This patch adds support
for reading these registers, so that the packet statistics are correctly
updated.

Additionally the defines for the non-MT7628 variant packet counter
registers are added and used in this patch instead of using hard coded
values.

Signed-off-by: Stefan Roese <[email protected]>
Fixes: 296c912075 ("net: ethernet: mediatek: Add MT7628/88 SoC support")
Cc: Felix Fietkau <[email protected]>
Cc: John Crispin <[email protected]>
Cc: Ilya Lipnitskiy <[email protected]>
Cc: Reto Schneider <[email protected]>
Cc: Reto Schneider <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2021-05-23 16:13:11 -07:00
..