selftests: mlxsw: Add a new test for strict priority
authorPetr Machata <petrm@mellanox.com>
Thu, 28 Mar 2019 12:12:27 +0000 (12:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2019 00:20:53 +0000 (17:20 -0700)
commit30905dc63badb17e5960fa73fa49ed1459790494
tree539987cd14cde15b0e43070338c18f5880f9bfe7
parent573363a68f27c75f92b029345eed0026a2bac0c0
selftests: mlxsw: Add a new test for strict priority

Test that when strict priority is configured on a system, the
higher-priority traffic does actually win all the available bandwidth.
The test uses a similar approach to qos_mc_aware.sh to run and account
the traffic.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/qos_ets_strict.sh [new file with mode: 0755]