aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-07-15 11:27:25 +0300
committerJakub Kicinski <kuba@kernel.org>2020-07-15 18:10:00 -0700
commit8d3fbae70d8d7e5f75cf3cb79eb8f1ac9807c354 (patch)
tree9d83237d11816589bea3ba87fe3bbde6d91292a1 /tools/perf/scripts/python
parentmlxsw: resources: Add resource identifier for global policers (diff)
downloadlinux-8d3fbae70d8d7e5f75cf3cb79eb8f1ac9807c354.tar.gz
linux-8d3fbae70d8d7e5f75cf3cb79eb8f1ac9807c354.zip
mlxsw: spectrum_policer: Add policer core
Add common code to handle all policer-related functionality in mlxsw. Currently, only policer for policy engines are supported, but it in the future more policer families will be added such as CPU (trap) policers and storm control policers. The API allows different modules to add / delete policers and read their drop counter. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions