diff options
| author | Ido Schimmel <[email protected]> | 2020-07-15 11:27:26 +0300 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-07-15 18:10:00 -0700 |
| commit | bf038f03728ee2880168aa127f5f871fea6d22ab (patch) | |
| tree | ebdb523433e74eadbe6b2109ce9d3ce603ef7f45 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 8d3fbae70d8d7e5f75cf3cb79eb8f1ac9807c354 (diff) | |
mlxsw: spectrum_policer: Add devlink resource support
Expose via devlink-resource the maximum number of single-rate policers
and their current occupancy. Example:
$ devlink resource show pci/0000:01:00.0
...
name global_policers size 1000 unit entry dpipe_tables none
resources:
name single_rate_policers size 968 occ 0 unit entry dpipe_tables none
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions