Lines Matching refs:h1

19 	simple_if_init $h1 192.0.2.1/24
24 simple_if_fini $h1 192.0.2.1/24
39 h1=${NETIFS[p1]}
58 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 0))
62 ethtool_set $h1 speed $speed autoneg off
65 setup_wait_dev_with_timeout $h1
67 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 $? "ping with h1-speed=$speed autoneg off, h2 autoneg on"
118 ethtool -s $h1 autoneg on
186 local speed_1_to_advertise=$(subset_of_common_speeds_get $h1 $h2 1)
187 ethtool_set $h1 advertise $speed_1_to_advertise
194 local -a speeds_arr_without_mode=($(common_speeds_get $h1 $h2 0 1))
195 # Check only speeds that h1 advertised. Remove the first speed.
197 local -a speeds_arr_with_mode=($(common_speeds_get $h1 $h2 1 1))
205 setup_wait_dev_with_timeout $h1
207 ping_do $h1 192.0.2.2
208 check_err $? "ping with h1=$speed_1_to_advertise, h2=$speed_2_to_advertise ($speed_value)"
214 ethtool -s $h1 autoneg on
226 local speed_to_advertise=$(subset_of_common_speeds_get $h1 $h2 1)
228 ethtool_set $h1 advertise $speed_to_advertise
235 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 1))
244 setup_wait_dev_with_timeout $h1
246 chosen_speed=$(ethtool $h1 | grep 'Speed:')
250 check_err $? "h1 advertise $speed_to_advertise, h2 sync to speed $chosen_speed"
255 ethtool -s $h1 autoneg on
264 local -a speeds=($(different_speeds_get $h1 $h2 1 1))
271 ethtool_set $h1 advertise $speed1
275 setup_wait_dev_with_timeout $h1
277 ping_do $h1 192.0.2.2
284 ethtool -s $h1 autoneg on