Lines Matching +full:timeout +full:- +full:ms
2 # SPDX-License-Identifier: GPL-2.0
5 # LC_SLOT - If not set, all probed line cards are going to be tested,
41 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].state"
48 local timeout=$3 # ms
50 busywait "$timeout" until_lc_state_is_not "$state" lc_state_get "$lc"
57 local timeout=$3 # ms
59 busywait "$timeout" until_lc_state_is "$state" lc_state_get "$lc"
75 devlink port -j | jq -e -r ".[][] | select(.lc==$lc) | .port" | wc -l
82 local timeout=$3 # ms
84 busywait "$timeout" until_lc_port_count_is "$port_count" lc_port_count_get "$lc"
91 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].nested_devlink"
94 PROV_UNPROV_TIMEOUT=8000 # ms
95 POST_PROV_ACT_TIMEOUT=2000 # ms
96 PROV_PORTS_INSTANTIATION_TIMEOUT=15000 # ms
116 check_err $? "Failed to unprovision linecard $lc (timeout)"
135 check_err $? "Failed to provision linecard $lc (timeout)"
140 provisioned_type=$(devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].type")
170 supported_types_count=$(devlink lc show $DEVLINK_DEV lc $lc -j | \
171 jq -e -r ".[][][].supported_types | length")
176 type=$(devlink lc show $DEVLINK_DEV lc $lc -j | \
177 jq -e -r ".[][][].supported_types[$type_index]")
208 fixed_hw_revision=$(devlink dev info $nested_devlink_dev -j | \
209 jq -e -r '.[][].versions.fixed."hw.revision"')
212 running_ini_version=$(devlink dev info $nested_devlink_dev -j | \
213 jq -e -r '.[][].versions.running."ini.version"')
243 ACTIVATION_TIMEOUT=20000 # ms
260 fixed_device_fw_psid=$(devlink dev info $nested_devlink_dev -j | \
261 jq -e -r ".[][].versions.fixed" | \
262 jq -e -r '."fw.psid"')
266 running_device_fw=$(devlink dev info $nested_devlink_dev -j | \
267 jq -e -r ".[][].versions.running.fw")
287 check_err $? "Failed to get linecard $lc activated (timeout)"
300 local lc_num=$(devlink lc show -j | jq -e -r ".[][\"$DEVLINK_DEV\"] |length")
301 if [[ $? -ne 0 ]] || [[ $lc_num -eq 0 ]]; then
306 if [ -z "$LC_SLOT" ]; then