Lines Matching refs:h2
29 simple_if_init $h2 192.0.2.2/24
34 simple_if_fini $h2 192.0.2.2/24
40 h2=${NETIFS[p2]}
58 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 0))
63 ethtool_set $h2 speed $speed autoneg off
66 setup_wait_dev_with_timeout $h2
72 ethtool -s $h2 autoneg on
82 local -a speeds_arr=($(different_speeds_get $h1 $h2 0 0))
87 ethtool_set $h2 speed $speed2 autoneg off
90 setup_wait_dev_with_timeout $h2
96 ethtool -s $h2 autoneg on
105 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 1))
112 setup_wait_dev_with_timeout $h2
114 check_err $? "ping with h1-speed=$speed autoneg off, h2 autoneg on"
186 local speed_1_to_advertise=$(subset_of_common_speeds_get $h1 $h2 1)
194 local -a speeds_arr_without_mode=($(common_speeds_get $h1 $h2 0 1))
197 local -a speeds_arr_with_mode=($(common_speeds_get $h1 $h2 1 1))
203 ethtool_set $h2 advertise $speed_2_to_advertise
206 setup_wait_dev_with_timeout $h2
208 check_err $? "ping with h1=$speed_1_to_advertise, h2=$speed_2_to_advertise ($speed_value)"
213 ethtool -s $h2 autoneg on
226 local speed_to_advertise=$(subset_of_common_speeds_get $h1 $h2 1)
235 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 1))
245 setup_wait_dev_with_timeout $h2
250 check_err $? "h1 advertise $speed_to_advertise, h2 sync to speed $chosen_speed"
254 ethtool -s $h2 autoneg on
264 local -a speeds=($(different_speeds_get $h1 $h2 1 1))
272 ethtool_set $h2 advertise $speed2
276 setup_wait_dev_with_timeout $h2
283 ethtool -s $h2 autoneg on