Lines Matching refs:max_occ
47 local max_occ
50 max_occ=$(devlink sb -j occupancy show $dl_port \
53 if [[ "$max_occ" -ne "$exp_max_occ" ]]; then
57 echo $max_occ
66 local max_occ
69 max_occ=$(devlink sb -j occupancy show $dl_port \
72 if [[ "$max_occ" -ne "$exp_max_occ" ]]; then
76 echo $max_occ
85 local max_occ
88 max_occ=$(devlink sb -j occupancy show $dl_port \
91 if [[ "$max_occ" -ne "$exp_max_occ" ]]; then
95 echo $max_occ
102 local max_occ
112 max_occ=$(sb_occ_pool_check $dl_port1 $SB_POOL_ING $exp_max_occ)
113 check_err $? "Expected iPool($SB_POOL_ING) max occupancy to be $exp_max_occ, but got $max_occ"
117 max_occ=$(sb_occ_pool_check $dl_port2 $SB_POOL_ING $exp_max_occ)
118 check_err $? "Expected iPool($SB_POOL_ING) max occupancy to be $exp_max_occ, but got $max_occ"
122 max_occ=$(sb_occ_pool_check $cpu_dl_port $SB_POOL_EGR_CPU $exp_max_occ)
123 check_err $? "Expected ePool($SB_POOL_EGR_CPU) max occupancy to be $exp_max_occ, but got $max_occ"
130 local max_occ
140 max_occ=$(sb_occ_itc_check $dl_port2 $SB_ITC $exp_max_occ)
141 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
145 max_occ=$(sb_occ_itc_check $dl_port2 $SB_ITC $exp_max_occ)
146 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
150 max_occ=$(sb_occ_etc_check $cpu_dl_port $SB_ITC_CPU_IP $exp_max_occ)
151 …heck_err $? "Expected egress TC($SB_ITC_CPU_IP) max occupancy to be $exp_max_occ, but got $max_occ"
158 local max_occ
167 max_occ=$(sb_occ_itc_check $dl_port2 $SB_ITC $exp_max_occ)
168 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
172 max_occ=$(sb_occ_itc_check $dl_port2 $SB_ITC $exp_max_occ)
173 check_err $? "Expected ingress TC($SB_ITC) max occupancy to be $exp_max_occ, but got $max_occ"
177 max_occ=$(sb_occ_etc_check $cpu_dl_port $SB_ITC_CPU_ARP $exp_max_occ)
178 check_err $? "Expected egress TC($SB_ITC_IP2ME) max occupancy to be $exp_max_occ, but got $max_occ"