Lines Matching refs:speed
60 for speed in "${speeds_arr[@]}"; do
62 ethtool_set $h1 speed $speed autoneg off
63 ethtool_set $h2 speed $speed autoneg off
68 check_err $? "ping with speed $speed autoneg off"
69 log_test "force speed $speed on both ends"
86 ethtool_set $h1 speed $speed1 autoneg off
87 ethtool_set $h2 speed $speed2 autoneg off
107 for speed in "${speeds_arr[@]}"; do
109 ethtool_set $h1 speed $speed autoneg off
114 check_err $? "ping with h1-speed=$speed autoneg off, h2 autoneg on"
115 log_test "force speed $speed vs. autoneg"
123 local speed=$1; shift
125 local shift_size=${speed_values[$speed]}
126 speed=$((0x1 << $"shift_size"))
127 printf "%#x" "$speed"
143 for speed in ${speeds_mode_arr[@]}; do
144 if [[ $speed != $speed_to_remove* ]]; then
145 speed=$(hex_speed_value_get $speed)
147 $speed))
166 for speed in ${supported_speeds[@]}; do
167 if [[ $speed == $speed_without_mode* ]]; then
168 speed=$(hex_speed_value_get $speed)
170 $speed))