]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-reg-add-policer-bandwidth-limits'
authorJakub Kicinski <kuba@kernel.org>
Thu, 16 Jul 2020 01:10:41 +0000 (18:10 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Jul 2020 01:10:41 +0000 (18:10 -0700)
commit26f91d77b666aada797753b12032c4fe45ffe8d0
tree2be3e396469bd2376f5b6a981c306a7ef9665084
parentd3a24acadf7d1f6880306817e8df2a5df3779bf3
parentbf78bf28a347f5c28b47b77a782adb9e010edd27
Merge branch 'mlxsw-reg-add-policer-bandwidth-limits'

Ido Schimmel says:

====================
mlxsw: Offload tc police action

This patch set adds support for tc police action in mlxsw.

Patches #1-#2 add defines for policer bandwidth limits and resource
identifiers (e.g., maximum number of policers).

Patch #3 adds a common policer core in mlxsw. Currently it is only used
by the policy engine, but future patch sets will use it for trap
policers and storm control policers. The common core allows us to share
common logic between all policer types and abstract certain details from
the various users in mlxsw.

Patch #4 exposes the maximum number of supported policers and their
current usage to user space via devlink-resource. This provides better
visibility and also used for selftests purposes.

Patches #5-#7 gradually add support for tc police action in the policy
engine by calling into previously mentioned policer core.

Patch #8 adds a generic selftest for tc-police that can be used with
veth pairs or physical loopbacks.

Patches #9-#11 add mlxsw-specific selftests.
====================

Signed-off-by: Jakub Kicinski <kuba@kernel.org>