selftests: mlxsw: Set headroom size of correct port
Subsystems (4)
PATCH 1/1 selftests: mlxsw: Set headroom size of correct port
From: Ido Schimmel <[email protected]>
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.
--- tools/testing/selftests/drivers/net/mlxsw/qos_pfc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/drivers/net/mlxsw/qos_pfc.sh +1 -1
@@ -230,7 +230,7 @@ switch_create() __mlnx_qos -i $swp4 --pfc=0,1,0,0,0,0,0,0 >/dev/null # PG0 will get autoconfigured to Xoff, give PG1 arbitrarily 100K, which # is (-2*MTU) about 80K of delay provision. - __mlnx_qos -i $swp3 --buffer_size=0,$_100KB,0,0,0,0,0,0 >/dev/null + __mlnx_qos -i $swp4 --buffer_size=0,$_100KB,0,0,0,0,0,0 >/dev/null # bridges # -------
Signature · 1 line
2.29.2
This patch was applied to netdev/net.git (refs/heads/master):
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
Quoted 9 lines · On Wed, 30 Dec 2020 13:42:51 +0200 you wrote:
From: Ido Schimmel <[email protected]>
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.
[...]
Here is the summary with links:
- [net] selftests: mlxsw: Set headroom size of correct port
https://git.kernel.org/netdev/net/c/2ff2c7e27439
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html