]> git.dujemihanovic.xyz Git - linux.git/commit
net: stmmac: mmc_core: Add GMAC LPI statistics
authorMinda Chen <minda.chen@starfivetech.com>
Mon, 8 Apr 2024 01:29:42 +0000 (09:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2024 14:19:50 +0000 (15:19 +0100)
commitdfe073f8714dc8022b5578510e2288e5292adeb5
tree25455ce62f087e8cf6dc29c9cf247c8c97f2722d
parent49563be82afa4093c1b009eaec7e4b9444e6ef32
net: stmmac: mmc_core: Add GMAC LPI statistics

XGMAC MMC has already added LPI statistics. GMAC MMC lack of these
statistics. Add register definition and reading the LPI statistics
from registers.

Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/mmc_core.c