]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: qos_mc_aware: Fix mausezahn invocation
authorPetr Machata <petrm@mellanox.com>
Wed, 15 Jan 2020 11:53:47 +0000 (13:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2020 12:16:30 +0000 (04:16 -0800)
commit67aa2ce88fe81b9dcefec0b7f7e5d752cef357c1
tree3ee282e7ce08556cf1baec42ec575d9288382f6a
parent9949961e2d78588d0a335168358c95c79fb826f2
selftests: mlxsw: qos_mc_aware: Fix mausezahn invocation

Mausezahn does not recognize "own" as a keyword on source IP address. As a
result, the MC stream is not running at all, and therefore no UC
degradation can be observed even in principle.

Fix the invocation, and tighten the test: due to the minimum shaper
configured at the MC TCs, we always expect about 20% degradation. Fail the
test if it is lower.

Fixes: 4398d6c252fb ("selftests: mlxsw: Add qos_lib.sh")
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reported-by: Amit Cohen <amitc@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_mc_aware.sh