diff options
author | Tobias Waldekranz <[email protected]> | 2023-12-14 14:50:23 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-12-15 11:05:02 +0000 |
commit | 3def80e52db3ab5e1097b13a87a7a65b909630d3 (patch) | |
tree | e78d2e00f62ea5bff85837092a3e5b849c2f58de /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | d624afaf4c792457d5ffa0037156f66cdfc1df18 (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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Tobias Waldekranz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions