diff options
author | Tobias Waldekranz <tobias@waldekranz.com> | 2023-12-14 14:50:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-15 11:05:02 +0000 |
commit | 5780acbd249911fa101c53f3616d0aec5906211e (patch) | |
tree | 6d51f51abcf56c18b155ac07acc3013a4dd5d96f /tools/testing/selftests/bpf/prog_tests/assign_reuse.c | |
parent | fc82a08ae795ee6b73fb6b50785f7be248bec7b5 (diff) |
net: dsa: mv88e6xxx: Give each hw stat an ID
With the upcoming standard counter group support, we are no longer
reading out the whole set of counters, but rather mapping a subset to
the requested group.
Therefore, create an enum with an ID for each stat, such that
mv88e6xxx_hw_stats[] can be subscripted with a human-readable ID
corresponding to the counter's name.
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