linux/tools/testing/selftests/drivers/net/mlxsw
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
..
spectrum selftests: forwarding: lib: Split setup_wait() 2025-06-26 17:53:07 -07:00
spectrum-2 selftests: forwarding: lib: Split setup_wait() 2025-06-26 17:53:07 -07:00
blackhole_routes.sh
devlink_linecard.sh
devlink_trap_acl_drops.sh
devlink_trap_control.sh
devlink_trap_l2_drops.sh
devlink_trap_l3_drops.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
devlink_trap_l3_exceptions.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
devlink_trap_policer.sh selftests: mlxsw: devlink_trap_police: Use defer for test cleanup 2024-10-22 13:33:48 +02:00
devlink_trap_tunnel_ipip6.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
devlink_trap_tunnel_ipip.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
devlink_trap_tunnel_vxlan_ipv6.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
devlink_trap_tunnel_vxlan.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
devlink_trap.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
egress_vid_classification.sh
ethtool_lanes.sh selftests: mlxsw: ethtool_lanes: Source ethtool lib from correct path 2024-08-21 17:20:09 -07:00
extack.sh
fib_offload.sh
fib.sh
hw_stats_l3.sh
ingress_rif_conf_1d.sh
ingress_rif_conf_1q.sh
ingress_rif_conf_vxlan.sh
mirror_gre_scale.sh selftests: mirror: Drop dual SW/HW testing 2024-06-28 10:55:37 +01:00
mirror_gre.sh selftests: mlxsw: mirror_gre: Obey TESTS 2024-06-28 10:55:38 +01:00
mlxsw_lib.sh selftests: forwarding: Change inappropriate log_test_skip() calls 2024-03-28 18:03:42 -07:00
one_armed_router.sh
pci_reset.sh
port_range_occ.sh
port_range_scale.sh
port_scale.sh
q_in_q_veto.sh
qos_defprio.sh
qos_dscp_bridge.sh
qos_dscp_router.sh
qos_ets_strict.sh selftests: mlxsw: qos_ets_strict: Use defer for test cleanup 2024-10-22 13:33:48 +02:00
qos_headroom.sh
qos_lib.sh
qos_max_descriptors.sh selftests: mlxsw: qos_max_descriptors: Use defer for test cleanup 2024-10-22 13:33:48 +02:00
qos_mc_aware.sh selftests: mlxsw: qos_mc_aware: Use defer for test cleanup 2024-10-22 13:33:47 +02:00
qos_pfc.sh selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes 2024-01-18 09:48:09 -08:00
rif_bridge.sh selftests/net/forwarding: teamd command not found 2025-01-15 14:14:40 -08:00
rif_counter_scale.sh
rif_lag_vlan.sh selftests/net/forwarding: teamd command not found 2025-01-15 14:14:40 -08:00
rif_lag.sh selftests/net/forwarding: teamd command not found 2025-01-15 14:14:40 -08:00
rif_mac_profile_scale.sh
rif_mac_profiles_occ.sh
rif_mac_profiles.sh
router_bridge_lag.sh
router_scale.sh
rtnetlink.sh selftests: mlxsw: rtnetlink: Use devlink_reload() API 2024-10-03 16:43:44 -07:00
sch_ets.sh selftests: ETS: Use defer for test cleanup 2024-10-22 13:33:47 +02:00
sch_offload.sh
sch_red_core.sh selftests: RED: Use defer for test cleanup 2024-10-22 13:33:47 +02:00
sch_red_ets.sh selftests: RED: Use defer for test cleanup 2024-10-22 13:33:47 +02:00
sch_red_prio.sh
sch_red_root.sh selftests: RED: Use defer for test cleanup 2024-10-22 13:33:47 +02:00
sch_tbf_ets.sh
sch_tbf_prio.sh
sch_tbf_root.sh
sharedbuffer_configuration.py
sharedbuffer.sh selftests: mlxsw: sharedbuffer: Ensure no extra packets are counted 2024-12-06 17:37:37 -08:00
tc_action_hw_stats.sh
tc_flower_scale.sh
tc_police_occ.sh
tc_police_scale.sh
tc_restrictions.sh
tc_sample.sh selftests: net: lib: Add kill_process 2024-11-15 16:39:19 -08:00
vxlan_fdb_veto_ipv6.sh
vxlan_fdb_veto.sh
vxlan_flooding.sh
vxlan_ipv6.sh
vxlan.sh