linux/tools/testing/selftests/drivers/net/mlxsw/spectrum
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
..
devlink_lib_spectrum.sh selftests: mlxsw: Add helpers for skipping selftests 2021-10-25 14:10:11 +01:00
devlink_resources.sh selftests: forwarding: devlink_lib: Avoid double sourcing of lib.sh 2019-03-28 17:20:52 -07:00
mirror_gre_scale.sh selftests: mlxsw: Generalize the parameters of mirror_gre 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
q_in_vni_veto.sh selftests: mlxsw: spectrum: q_in_vni_veto: Disable IPv6 autogen on a bridge 2023-06-21 14:02:52 -07: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
tc_flower_scale.sh selftests: mlxsw: Add target for tc flower test on spectrum 2018-06-30 22:06:15 +09: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: spectrum: Add a test for VxLAN flooding with IPv6 2021-12-23 11:24:01 +00:00