diff options
author | Tobias Waldekranz <tobias@waldekranz.com> | 2023-12-14 14:50:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-15 11:05:02 +0000 |
commit | 3def80e52db3ab5e1097b13a87a7a65b909630d3 (patch) | |
tree | e78d2e00f62ea5bff85837092a3e5b849c2f58de /tools/testing/selftests/bpf/prog_tests/assign_reuse.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 <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 'tools/testing/selftests/bpf/prog_tests/assign_reuse.c')
0 files changed, 0 insertions, 0 deletions