original_kernel/tools/testing/selftests/drivers/net/mlxsw
Danielle Ratson 8d612ed4b5 selftests: mlxsw: ethtool_lanes: Wait for lanes parameter dump explicitly
The ethtool dump includes the lanes parameter only when the port is up.
Therefore, the ethtool_lanes.sh test waits for ports to come before testing
the lanes parameter.

In some cases, the test considers the port as up, but the lanes parameter
is not yet dumped although assumed to be, resulting in ethtool_lanes.sh
test failure.

To avoid that, ensure that the lanes parameter is indeed dumped by waiting
for it explicitly, before preforming the test cases.

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-04-16 12:14:41 +02:00
..
spectrum selftests: forwarding: Change inappropriate log_test_skip() calls 2024-03-28 18:03:42 -07:00
spectrum-2 selftests: forwarding: Change inappropriate log_test_skip() calls 2024-03-28 18:03:42 -07:00
blackhole_routes.sh
devlink_linecard.sh
devlink_trap.sh
devlink_trap_acl_drops.sh
devlink_trap_control.sh
devlink_trap_l2_drops.sh
devlink_trap_l3_drops.sh
devlink_trap_l3_exceptions.sh
devlink_trap_policer.sh
devlink_trap_tunnel_ipip.sh
devlink_trap_tunnel_ipip6.sh
devlink_trap_tunnel_vxlan.sh
devlink_trap_tunnel_vxlan_ipv6.sh
egress_vid_classification.sh
ethtool_lanes.sh selftests: mlxsw: ethtool_lanes: Wait for lanes parameter dump explicitly 2024-04-16 12:14:41 +02:00
extack.sh
fib.sh
fib_offload.sh
hw_stats_l3.sh
ingress_rif_conf_1d.sh
ingress_rif_conf_1q.sh
ingress_rif_conf_vxlan.sh
mirror_gre.sh
mirror_gre_scale.sh
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
qos_headroom.sh
qos_lib.sh
qos_max_descriptors.sh
qos_mc_aware.sh
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
rif_counter_scale.sh
rif_lag.sh
rif_lag_vlan.sh
rif_mac_profile_scale.sh
rif_mac_profiles.sh
rif_mac_profiles_occ.sh
router_bridge_lag.sh
router_scale.sh
rtnetlink.sh
sch_ets.sh
sch_offload.sh
sch_red_core.sh
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
tc_police_occ.sh
tc_police_scale.sh
tc_restrictions.sh
tc_sample.sh
vxlan.sh
vxlan_fdb_veto.sh
vxlan_fdb_veto_ipv6.sh
vxlan_flooding.sh
vxlan_ipv6.sh