mirror_ubuntu-kernels/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 selftests: mlxsw: Use busywait helper in blackhole routes test 2020-02-27 11:10:14 -08:00
devlink_linecard.sh selftests: mlxsw: Check line card info on activated line card 2022-07-26 13:56:44 -07:00
devlink_trap_acl_drops.sh selftests: mlxsw: Do not hard code trap group name 2020-05-16 16:42:31 -07:00
devlink_trap_control.sh selftests: mlxsw: Add a test for EAPOL trap 2022-11-09 19:06:16 -08:00
devlink_trap_l2_drops.sh selftests: mlxsw: Add a test for locked port trap 2022-11-09 19:06:16 -08:00
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 selftests: mlxsw: Reduce test run time 2021-10-25 14:10:11 +01:00
devlink_trap_tunnel_ipip6.sh selftests: mlxsw: Move IPv6 decap_error test to shared directory 2022-12-08 18:46:32 -08:00
devlink_trap_tunnel_ipip.sh selftests: mlxsw: devlink_trap_tunnel_ipip: Send a full-length key 2021-10-08 16:40:59 +01:00
devlink_trap_tunnel_vxlan_ipv6.sh selftests: mlxsw: Add test for VxLAN related traps for IPv6 2021-12-23 11:24:01 +00:00
devlink_trap_tunnel_vxlan.sh selftests: mlxsw: devlink_trap_tunnel_vxlan: Fix 'decap_error' case 2021-12-23 11:24:01 +00:00
devlink_trap.sh
egress_vid_classification.sh selftests: mlxsw: egress_vid_classification: Fix the diagram 2023-06-05 11:29:49 +01:00
ethtool_lanes.sh selftests: mlxsw: ethtool_lanes: Wait for lanes parameter dump explicitly 2024-04-16 12:14:41 +02:00
extack.sh selftests: mlxsw: extack: Disable IPv6 autogen on bridges 2023-06-21 14:02:52 -07:00
fib_offload.sh
fib.sh selftests: Extend fib tests to run with and without flags notifications 2021-02-02 17:45:59 -08:00
hw_stats_l3.sh selftests: mlxsw: hw_stats_l3: Add a new test 2022-03-15 14:00:51 +01:00
ingress_rif_conf_1d.sh selftests: mlxsw: ingress_rif_conf_1d: Fix the diagram 2023-06-05 11:29:49 +01:00
ingress_rif_conf_1q.sh selftests: mlxsw: Add ingress RIF configuration test for 802.1Q bridge 2022-08-18 20:50:40 -07:00
ingress_rif_conf_vxlan.sh selftests: mlxsw: Add ingress RIF configuration test for VXLAN 2022-08-18 20:50:40 -07:00
mirror_gre_scale.sh selftests: mlxsw: mirror_gre_scale: Disable IPv6 autogen on a bridge 2023-06-21 14:02:52 -07:00
mirror_gre.sh
mlxsw_lib.sh selftests: forwarding: Change inappropriate log_test_skip() calls 2024-03-28 18:03:42 -07:00
one_armed_router.sh selftests: mlxsw: one_armed_router: Use port MAC for bridge address 2023-06-21 14:02:52 -07:00
pci_reset.sh selftests: mlxsw: Add PCI reset test 2023-11-18 17:38:51 +00:00
port_range_occ.sh selftests: mlxsw: Test port range registers' occupancy 2023-07-12 16:57:18 -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: Make the unsplit array global in port_scale test 2021-05-17 15:15:46 -07:00
q_in_q_veto.sh selftests: mlxsw: q_in_q_veto: Disable IPv6 autogen on bridges 2023-06-21 14:02:52 -07:00
qos_defprio.sh selftests: mlxsw: qos_defprio: Convert from lldptool to dcb 2023-01-31 21:02:11 -08:00
qos_dscp_bridge.sh selftests: mlxsw: qos_dscp_bridge: Disable IPv6 autogen on a bridge 2023-06-21 14:02:52 -07:00
qos_dscp_router.sh selftests: mlxsw: qos_dscp_router: Convert from lldptool to dcb 2023-01-31 21:02:11 -08:00
qos_ets_strict.sh selftests: mlxsw: qos_ets_strict: Disable IPv6 autogen on bridges 2023-06-21 14:02:52 -07:00
qos_headroom.sh selftests: forwarding: generalize bail_on_lldpad from mlxsw 2023-04-20 20:03:21 -07:00
qos_lib.sh selftests: forwarding: generalize bail_on_lldpad from mlxsw 2023-04-20 20:03:21 -07:00
qos_max_descriptors.sh selftests: mlxsw: Add QOS test for maximum use of descriptors 2022-09-19 18:07:59 -07:00
qos_mc_aware.sh selftests: mlxsw: qos_mc_aware: Disable IPv6 autogen on bridges 2023-06-21 14:02:52 -07: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: mlxsw: rif_bridge: Add a new selftest 2023-08-02 09:18:18 +01:00
rif_counter_scale.sh selftests: mlxsw: Add a RIF counter scale test 2022-06-17 10:31:33 +01:00
rif_lag_vlan.sh selftests: mlxsw: rif_lag_vlan: Add a new selftest 2023-08-02 09:18:18 +01:00
rif_lag.sh selftests: mlxsw: rif_lag: Add a new selftest 2023-08-02 09:18:18 +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
rif_mac_profiles_occ.sh selftests: mlxsw: Add a test case for MAC profiles consolidation 2021-12-14 12:56:10 +00:00
rif_mac_profiles.sh selftests: mlxsw: Add forwarding test for RIF MAC profiles 2021-10-26 13:35:58 +01:00
router_bridge_lag.sh selftests: mlxsw: router_bridge_lag: Add a new selftest 2023-08-09 15:27:51 -07:00
router_scale.sh selftests: router_scale: Do not count failed routes 2021-06-08 14:39:07 -07:00
rtnetlink.sh selftests: mlxsw: rtnetlink: Drop obsolete tests 2023-07-21 08:54:04 +01:00
sch_ets.sh selftests: forwarding: generalize bail_on_lldpad from mlxsw 2023-04-20 20:03:21 -07:00
sch_offload.sh selftests: mlxsw: Test offloadability of root TBF 2021-10-28 19:47:49 -07:00
sch_red_core.sh selftests: forwarding: generalize bail_on_lldpad from mlxsw 2023-04-20 20:03:21 -07:00
sch_red_ets.sh selftests: forwarding: generalize bail_on_lldpad from mlxsw 2023-04-20 20:03:21 -07:00
sch_red_prio.sh selftests: mlxsw: Add a RED selftest 2020-02-27 11:10:14 -08:00
sch_red_root.sh selftests: forwarding: generalize bail_on_lldpad from mlxsw 2023-04-20 20:03:21 -07:00
sch_tbf_ets.sh selftests: forwarding: generalize bail_on_lldpad from mlxsw 2023-04-20 20:03:21 -07:00
sch_tbf_prio.sh selftests: forwarding: generalize bail_on_lldpad from mlxsw 2023-04-20 20:03:21 -07:00
sch_tbf_root.sh selftests: forwarding: generalize bail_on_lldpad from mlxsw 2023-04-20 20:03:21 -07:00
sharedbuffer_configuration.py tweewide: Fix most Shebang lines 2020-12-08 23:30:04 +09:00
sharedbuffer.sh selftests: mlxsw: Fix test failure on Spectrum-4 2023-08-18 19:41:06 -07:00
tc_action_hw_stats.sh selftests: mlxsw: Add tc action hw_stats tests 2020-03-18 16:46:19 -07:00
tc_flower_scale.sh selftests: mlxsw: tc_flower_scale: Add a traffic test 2022-06-17 10:31:33 +01:00
tc_police_occ.sh selftests: mlxsw: Test policers' occupancy 2020-07-15 18:10:00 -07:00
tc_police_scale.sh selftests: mlxsw: tc_police_scale: Make test more robust 2022-03-03 08:14:01 -08:00
tc_restrictions.sh selftests: mlxsw: Add helpers for skipping selftests 2021-10-25 14:10:11 +01:00
tc_sample.sh selftests: mlxsw: Add helpers for skipping selftests 2021-10-25 14:10:11 +01:00
vxlan_fdb_veto_ipv6.sh selftests: mlxsw: Add VxLAN FDB veto test for IPv6 2021-12-23 11:24:01 +00:00
vxlan_fdb_veto.sh selftests: mlxsw: vxlan_fdb_veto: Make the test more flexible for future use 2021-12-23 11:24:00 +00:00
vxlan_flooding.sh selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets 2022-04-20 15:04:27 +01:00
vxlan_ipv6.sh selftests: mlxsw: Add VxLAN configuration test for IPv6 2021-12-23 11:24:00 +00:00
vxlan.sh selftests: mlxsw: vxlan: Disable IPv6 autogen on bridges 2023-06-21 14:02:52 -07:00