linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2
Petr Machata b7863babce selftests: forwarding: lib: Split setup_wait()
setup_wait() takes an optional argument and then is called from the top
level of the test script. That confuses shellcheck, which thinks that maybe
the intention is to pass $1 of the script to the function, which is never
the case. To avoid having to annotate every single new test with a SC
disable, split the function in two: one that takes a mandatory argument,
and one that takes no argument at all.

Convert the two existing users of that optional argument, both in Spectrum
resource selftest, to use the new form. Clean up vxlan_bridge_1q_mc_ul.sh
to not pass a now-unused argument.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/8e13123236fe3912ae29bc04a1528bdd8551da1f.1750847794.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-06-26 17:53:07 -07:00
..
mirror_gre_scale.sh selftests: mlxsw: Add Spectrum-2 mirror-to-gretap target scale test 2019-10-18 10:05:37 -07:00
port_range_scale.sh selftests: mlxsw: Add scale test for port ranges 2023-07-12 16:57:18 -07:00
port_scale.sh selftests: mlxsw: Add a scale test for physical ports 2021-01-22 20:42:13 -08:00
resource_scale.sh selftests: forwarding: lib: Split setup_wait() 2025-06-26 17:53:07 -07:00
rif_counter_scale.sh selftests: mlxsw: Add a RIF counter scale test 2022-06-17 10:31:33 +01:00
rif_mac_profile_scale.sh selftests: mlxsw: Add a scale test for RIF MAC profiles 2021-10-26 13:35:58 +01:00
router_scale.sh selftests: mlxsw: Add router scale test for Spectrum-2 2019-11-18 17:11:54 -08:00
tc_flower_scale.sh selftests: spectrum-2: tc_flower_scale: Dynamically set scale target 2022-06-17 10:31:33 +01:00
tc_flower.sh mlxsw: spectrum_acl: Fix ACL scale regression and firmware errors 2024-06-10 11:14:52 +01:00
tc_police_scale.sh selftests: mlxsw: Add scale test for tc-police 2020-07-15 18:10:00 -07:00
vxlan_flooding_ipv6.sh selftests: mlxsw: vxlan_flooding_ipv6: Prevent flooding of unwanted packets 2022-04-20 15:04:27 +01:00