]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 06:00:53 +0000 (01:00 -0500)
commit0bcc645243181533974b952917f7afc4e5638953
tree7b73310b431e456210c0c4a9dc202b0020d39018
parent44bbb8c5f049b91eb8ee85ba1422db1dadc722c9
selftests: mlxsw: qos_mc_aware: Fix mausezahn invocation

BugLink: https://bugs.launchpad.net/bugs/1862429
commit fef6d6704944c7be72fd2b77c021f1aed3d5df0d upstream.

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: 573363a68f27 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
tools/testing/selftests/drivers/net/mlxsw/qos_mc_aware.sh