]> 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)
commit29dea57b7be2e0a7f0bc304372c959d2c2ebba71
tree06233ecedd295258a5f5ac3b2289f7c831e51574
parent6b3554caa2bc60b1cf7063ca76281076ebe87fa0
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