summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/mv88e6xxx/serdes.h
diff options
context:
space:
mode:
authorTobias Waldekranz <tobias@waldekranz.com>2023-12-14 14:50:23 +0100
committerDavid S. Miller <davem@davemloft.net>2023-12-15 11:05:02 +0000
commit3def80e52db3ab5e1097b13a87a7a65b909630d3 (patch)
treee78d2e00f62ea5bff85837092a3e5b849c2f58de /drivers/net/dsa/mv88e6xxx/serdes.h
parentd624afaf4c792457d5ffa0037156f66cdfc1df18 (diff)
net: dsa: mv88e6xxx: Create API to read a single stat counter
This change contains no functional change. We simply push the hardware specific stats logic to a function reading a single counter, rather than the whole set. This is a preparatory change for the upcoming standard ethtool statistics support (i.e. "eth-mac", "eth-ctrl" etc.). Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/serdes.h')
0 files changed, 0 insertions, 0 deletions