]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Set headroom size of correct port
authorIdo Schimmel <idosch@nvidia.com>
Wed, 30 Dec 2020 11:42:51 +0000 (13:42 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 4 Jan 2021 21:36:32 +0000 (13:36 -0800)
commiteb487eee16112ea56ab0c342d2ded61c502ce5d2
tree64ae7ee14fd0857ee62b1608c1581e0eda4d8299
parent784c6ac5a68b7dd791197beeebfe54e7acc7114f
selftests: mlxsw: Set headroom size of correct port

The test was setting the headroom size of the wrong port. This was not
visible because of a firmware bug that canceled this bug.

Set the headroom size of the correct port, so that the test will pass
with both old and new firmware versions.

Fixes: 70b45a4fe5d2 ("selftests: mlxsw: Add a PFC test")
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://lore.kernel.org/r/20201230114251.394009-1-idosch@idosch.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/mlxsw/qos_pfc.sh