summaryrefslogtreecommitdiffstats
path: root/kernel
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 /kernel
parent1b744fc9f8d5372506d1a9b7aae2584b75d54e3b (diff)
downloadcachepc-linux-8d3fbae70d8d7e5f75cf3cb79eb8f1ac9807c354.tar.gz
cachepc-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 'kernel')
0 files changed, 0 insertions, 0 deletions