diff options
| author | Andrew Lunn <andrew@lunn.ch> | 2019-11-05 01:13:01 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-11-05 18:09:45 -0800 |
| commit | e0c69ca7dfbbaaa6f9167c65f5cde740557aaed9 (patch) | |
| tree | fbbbb6bb8ec7b0e004c97febde2f168ff9e88c83 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | net: dsa: mv88e6xxx: global1_atu: Add helper for get next (diff) | |
| download | linux-e0c69ca7dfbbaaa6f9167c65f5cde740557aaed9.tar.gz linux-e0c69ca7dfbbaaa6f9167c65f5cde740557aaed9.zip | |
net: dsa: mv88e6xxx: Add ATU occupancy via devlink resources
The ATU can report how many entries it contains. It does this per bin,
there being 4 bins in total. Export the ATU as a devlink resource, and
provide a method the needed callback to get the resource occupancy.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
