Lines Matching refs:max_speed
41 local max_speed=$1; shift
48 check_err $? "swp1 advertise $max_speed and $lanes, devs sync to $chosen_lanes"
54 local max_speed=$1; shift
65 ethtool -s $swp1 speed $max_speed lanes $unsupported_lanes $autoneg_str &> /dev/null
74 local max_speed
109 local max_speed
114 max_speed=${max_values[0]}
120 search_linkmode $max_speed $lanes "${linkmodes_params[@]}"
122 ethtool_set $swp1 speed $max_speed lanes $lanes
128 check_lanes $swp1 $lanes $max_speed
134 check_unsupported_lanes $swp1 $max_speed $max_lanes 1
146 local max_speed
151 max_speed=${max_values[0]}
157 search_linkmode $max_speed $lanes "${linkmodes_params[@]}"
159 ethtool_set $swp1 speed $max_speed lanes $lanes autoneg off
160 ethtool_set $swp2 speed $max_speed lanes $lanes autoneg off
166 check_lanes $swp1 $lanes $max_speed
172 check_unsupported_lanes $swp1 $max_speed $max_lanes 0