Lines Matching refs:h1

18 	simple_if_init $h1 192.0.2.1/24
23 simple_if_fini $h1 192.0.2.1/24
38 h1=${NETIFS[p1]}
57 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 0))
61 ethtool_set $h1 speed $speed autoneg off
64 setup_wait_dev_with_timeout $h1
66 ping_do $h1 192.0.2.2
73 ethtool -s $h1 autoneg on
82 local -a speeds_arr=($(different_speeds_get $h1 $h2 0 0))
86 ethtool_set $h1 speed $speed1 autoneg off
89 setup_wait_dev_with_timeout $h1
91 ping_do $h1 192.0.2.2
97 ethtool -s $h1 autoneg on
105 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 1))
109 ethtool_set $h1 speed $speed autoneg off
111 setup_wait_dev_with_timeout $h1
113 ping_do $h1 192.0.2.2
114 check_err $? "h1-speed=$speed autoneg off, h2 autoneg on"
119 ethtool -s $h1 autoneg on
187 local speed_1_to_advertise=$(subset_of_common_speeds_get $h1 $h2 1)
188 ethtool_set $h1 advertise $speed_1_to_advertise
195 local -a speeds_arr_without_mode=($(common_speeds_get $h1 $h2 0 1))
196 # Check only speeds that h1 advertised. Remove the first speed.
198 local -a speeds_arr_with_mode=($(common_speeds_get $h1 $h2 1 1))
206 setup_wait_dev_with_timeout $h1
208 ping_do $h1 192.0.2.2
209 check_err $? "h1=$speed_1_to_advertise, h2=$speed_2_to_advertise ($speed_value)"
212 log_info "h1=$speed_1_to_advertise, h2=$speed_2_to_advertise"
216 ethtool -s $h1 autoneg on
228 local speed_to_advertise=$(subset_of_common_speeds_get $h1 $h2 1)
230 ethtool_set $h1 advertise $speed_to_advertise
237 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 1))
246 setup_wait_dev_with_timeout $h1
248 chosen_speed=$(ethtool $h1 | grep 'Speed:')
252 check_err $? "h1 advertise $speed_to_advertise, h2 sync to speed $chosen_speed"
257 ethtool -s $h1 autoneg on
266 local -a speeds=($(different_speeds_get $h1 $h2 1 1))
273 ethtool_set $h1 advertise $speed1
277 setup_wait_dev_with_timeout $h1
279 ping_do $h1 192.0.2.2
286 ethtool -s $h1 autoneg on