Lines Matching full: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
102 # Test that when one device is forced to a speed supported by both
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))
159 # the modes corresponding to the provided speed.
166 for speed in ${supported_speeds[@]}; do
167 if [[ $speed == $speed_without_mode* ]]; then
168 speed=$(hex_speed_value_get $speed)
170 $speed))
182 # advertises a specific speed (but all modes of this speed), the links
195 # Check only speeds that h1 advertised. Remove the first speed.
220 # chooses the highest speed. This test checks configuration without
231 log_test "check highest speed"
246 chosen_speed=$(ethtool $h1 | grep 'Speed:')
248 chosen_speed=${chosen_speed#*"Speed: "}
250 check_err $? "h1 advertise $speed_to_advertise, h2 sync to speed $chosen_speed"
252 log_test "check highest speed"