]> 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)
commit838be2b167ea058758fb47f97a7185a65bc26b34
tree06233ecedd295258a5f5ac3b2289f7c831e51574
parent11915b314ef6aeb68d5506a1e65598f21ca65fac
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