aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorTobias Waldekranz <[email protected]>2023-12-14 14:50:25 +0100
committerDavid S. Miller <[email protected]>2023-12-15 11:05:02 +0000
commit5780acbd249911fa101c53f3616d0aec5906211e (patch)
tree6d51f51abcf56c18b155ac07acc3013a4dd5d96f /tools/testing/selftests/bpf/progs/test_autoload.c
parentfc82a08ae795ee6b73fb6b50785f7be248bec7b5 (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 <[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