]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: mlxsw: sharedbuffer: Remove h1 ingress test case
authorDanielle Ratson <danieller@nvidia.com>
Thu, 5 Dec 2024 16:35:59 +0000 (17:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2024 17:08:53 +0000 (18:08 +0100)
commitf12b37e165b2bf298c5037aee1a948ab968d46cc
tree8be9d4d1cd5accf8445114a85769db58aa2ac47a
parent61f720e801443d4e2a3c0261eda4ad8431458dca
selftests: mlxsw: sharedbuffer: Remove h1 ingress test case

[ Upstream commit cf3515c556907b4da290967a2a6cbbd9ee0ee723 ]

The test is sending only one packet generated with mausezahn from $h1 to
$h2. However, for some reason, it is testing for non-zero maximum occupancy
in both the ingress pool of $h1 and $h2. The former only passes when $h2
happens to send a packet.

Avoid intermittent failures by removing unintentional test case
regarding the ingress pool of $h1.

Fixes: a865ad999603 ("selftests: mlxsw: Add shared buffer traffic test")
Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/5b7344608d5e06f38209e48d8af8c92fa11b6742.1733414773.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/drivers/net/mlxsw/sharedbuffer.sh