linux/tools/testing/selftests/drivers/net/mlxsw
Amit Cohen e67dfb8d15 selftests: Clean forgotten resources as part of cleanup()
Several tests do not set some ports down as part of their cleanup(),
resulting in IPv6 link-local addresses and associated routes not being
deleted.

These leaks were found using a BPF tool that monitors ASIC resources.

Solve this by setting the ports down at the end of the tests.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-08 14:39:07 -07:00
..
spectrum selftests: mlxsw: Return correct error code in resource scale tests 2021-04-23 14:01:28 -07:00
spectrum-2 selftests: mlxsw: Return correct error code in resource scale tests 2021-04-23 14:01:28 -07:00
blackhole_routes.sh
devlink_trap.sh
devlink_trap_acl_drops.sh
devlink_trap_control.sh
devlink_trap_l2_drops.sh
devlink_trap_l3_drops.sh selftests: Clean forgotten resources as part of cleanup() 2021-06-08 14:39:07 -07:00
devlink_trap_l3_exceptions.sh selftests: Clean forgotten resources as part of cleanup() 2021-06-08 14:39:07 -07:00
devlink_trap_policer.sh
devlink_trap_tunnel_ipip.sh
devlink_trap_tunnel_vxlan.sh
ethtool_lanes.sh
extack.sh
fib.sh
fib_offload.sh
mirror_gre.sh
mirror_gre_scale.sh selftests: mlxsw: Fix mausezahn invocation in ERSPAN scale test 2021-04-23 14:01:28 -07:00
mlxsw_lib.sh
one_armed_router.sh
port_scale.sh selftests: mlxsw: Make the unsplit array global in port_scale test 2021-05-17 15:15:46 -07:00
q_in_q_veto.sh
qos_defprio.sh
qos_dscp_bridge.sh selftests: Clean forgotten resources as part of cleanup() 2021-06-08 14:39:07 -07:00
qos_dscp_router.sh
qos_ets_strict.sh
qos_headroom.sh selftests: mlxsw: qos_headroom: Convert to iproute2 dcb 2021-05-17 15:15:46 -07:00
qos_lib.sh selftests: mlxsw: qos_lib: Drop __mlnx_qos 2021-05-17 15:15:46 -07:00
qos_mc_aware.sh
qos_pfc.sh selftests: mlxsw: qos_pfc: Convert to iproute2 dcb 2021-05-17 15:15:46 -07:00
router_scale.sh selftests: router_scale: Do not count failed routes 2021-06-08 14:39:07 -07:00
rtnetlink.sh
sch_ets.sh
sch_red_core.sh selftests: mlxsw: Increase the tolerance of backlog buildup 2021-04-23 14:01:28 -07:00
sch_red_ets.sh
sch_red_prio.sh
sch_red_root.sh
sch_tbf_ets.sh
sch_tbf_prio.sh
sch_tbf_root.sh
sharedbuffer.sh
sharedbuffer_configuration.py
tc_action_hw_stats.sh
tc_flower_scale.sh selftests: mlxsw: Remove a redundant if statement in tc_flower_scale test 2021-04-23 14:01:28 -07:00
tc_police_occ.sh
tc_police_scale.sh
tc_restrictions.sh
tc_sample.sh selftests: mlxsw: Make sampling test more robust 2021-05-17 15:15:46 -07:00
vxlan.sh
vxlan_fdb_veto.sh
vxlan_flooding.sh