commit | 9f3e63c5d69814a9df85f7f0fc77eac0765d4fba | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Mon Mar 30 22:38:32 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 30 17:54:59 2020 -0700 |
tree | 3a4b1046c12981dfd0c83afdf09c017e92ca7822 | |
parent | 39defcbba0cd24ef4d5547370c4d689d4a7863af [diff] |
selftests: mlxsw: Add test cases for devlink-trap policers Add test cases that verify that each registered packet trap policer: * Honors that imposed limitations of rate and burst size * Able to police trapped packets to the specified rate * Able to police trapped packets to the specified burst size * Able to be unbound from its trap group Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>