]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: tc_restrictions: Test tc-police restrictions
authorIdo Schimmel <idosch@mellanox.com>
Wed, 15 Jul 2020 08:27:31 +0000 (11:27 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Jul 2020 01:10:00 +0000 (18:10 -0700)
commitcb12d176326722e2f4ede4e459e86ea36607c555
tree06233ecedd295258a5f5ac3b2289f7c831e51574
parentafe231d32eb5fa4f4975596958c48c3a77fa1773
selftests: mlxsw: tc_restrictions: Test tc-police restrictions

Test that upper and lower limits on rate and burst size imposed by the
device are rejected by the kernel.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/mlxsw/tc_restrictions.sh