Lines Matching +full:subset +full:- +full:of
2 # SPDX-License-Identifier: GPL-2.0
56 # Check that when each of the reported speeds is forced, the links come
58 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 0))
72 ethtool -s $h2 autoneg on
73 ethtool -s $h1 autoneg on
82 local -a speeds_arr=($(different_speeds_get $h1 $h2 0 0))
94 log_test "force of different speeds autoneg off"
96 ethtool -s $h2 autoneg on
97 ethtool -s $h1 autoneg on
105 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 1))
114 check_err $? "ping with h1-speed=$speed autoneg off, h2 autoneg on"
118 ethtool -s $h1 autoneg on
136 local -a speeds_arr=($(common_speeds_get $dev1 $dev2 0 $adver))
141 local -a speeds_mode_arr=($(common_speeds_get $dev1 $dev2 1 $adver))
158 # The function returns the hex number that is composed by OR-ing all
181 # Test that when one device advertises a subset of speeds and another
182 # advertises a specific speed (but all modes of this speed), the links
190 log_test "advertise subset of speeds"
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))
213 ethtool -s $h2 autoneg on
214 ethtool -s $h1 autoneg on
219 # Test that when one device advertises a subset of speeds, the other
235 local -a speeds_arr=($(common_speeds_get $h1 $h2 0 1))
239 if [[ $current -gt $max_speed ]]; then
254 ethtool -s $h2 autoneg on
255 ethtool -s $h1 autoneg on
264 local -a speeds=($(different_speeds_get $h1 $h2 1 1))
283 ethtool -s $h2 autoneg on
284 ethtool -s $h1 autoneg on
292 declare -gA speed_values