]> www.infradead.org Git - users/hch/misc.git/commit
net: phy: dp83tg720: add statistics support
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 10 Jan 2025 06:05:17 +0000 (07:05 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 14 Jan 2025 10:44:19 +0000 (11:44 +0100)
commit677d895af1cc3bc90c3e09d7eeb0b2cd4dd2ddff
tree28fbf73b6a9383b8e343f82f3ede9db092f40062
parent23bbd28729bddfe1b57c7202e285e5b431b9ab3a
net: phy: dp83tg720: add statistics support

Add support for reporting PHY statistics in the DP83TG720 driver. This
includes cumulative tracking of link loss events, transmit/receive
packet counts, and error counts. Implemented functions to update and
provide statistics via ethtool, with optional polling support enabled
through `PHY_POLL_STATS`.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/dp83tg720.c