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

Add support for reporting PHY statistics in the DP83TD510 driver. This
includes cumulative tracking of 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/dp83td510.c