]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: mlxsw: sharedbuffer: Remove duplicate test cases
authorDanielle Ratson <danieller@nvidia.com>
Thu, 5 Dec 2024 16:36:00 +0000 (17:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2024 17:08:53 +0000 (18:08 +0100)
commit4dcd14efb39a3f66bcd4810e6734bcfa5e7d238d
tree687bc7241adc923b7723cee33953f69b9f181228
parentf12b37e165b2bf298c5037aee1a948ab968d46cc
selftests: mlxsw: sharedbuffer: Remove duplicate test cases

[ Upstream commit 6c46ad4d1bb2e8ec2265296e53765190f6e32f33 ]

On both port_tc_ip_test() and port_tc_arp_test(), the max occupancy is
checked on $h2 twice, when only the error message is different and does not
match the check itself.

Remove the two duplicated test cases from the test.

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/d9eb26f6fc16a06a30b5c2c16ad80caf502bc561.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