commit | deee0abc70d9c2c7241fdb915527cb8fdbf36e7a | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Wed Jul 15 11:27:28 2020 +0300 |
committer | Jakub Kicinski <kuba@kernel.org> | Wed Jul 15 18:10:00 2020 -0700 |
tree | 76ce14564c7e402b3d88a88bb5f86fac05cfe865 | |
parent | d25b8f6ebcc451b56faedc2dc666f74628fb1ffc [diff] |
mlxsw: core_acl_flex_actions: Add police action Add core functionality required to support police action in the policy engine. The utilized hardware policers are stored in a hash table keyed by the flow action index. This allows to support policer sharing between multiple ACL rules. 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>