Lines Matching full:burst
162 devlink trap policer set $DEVLINK_DEV policer 1 burst 0 &> /dev/null
163 check_fail $? "Policer burst size was changed to 0"
164 devlink trap policer set $DEVLINK_DEV policer 1 burst 17 &> /dev/null
165 check_fail $? "Policer burst size was changed to burst size that is not power of 2"
166 devlink trap policer set $DEVLINK_DEV policer 1 burst 8 &> /dev/null
167 check_fail $? "Policer burst size was changed to burst size lower than limit"
169 burst $((2**25)) &> /dev/null
170 check_fail $? "Policer burst size was changed to burst size higher than limit"
172 devlink trap policer set $DEVLINK_DEV policer 1 burst 16
173 check_err $? "Failed to set policer burst size to minimum"
174 devlink trap policer set $DEVLINK_DEV policer 1 burst $((2**24))
175 check_err $? "Failed to set policer burst size to maximum"
177 log_test "Trap policer burst size limits"
210 devlink trap policer set $DEVLINK_DEV policer $id rate 1000 burst 512
295 devlink trap policer set $DEVLINK_DEV policer $id rate 1000 burst 512
298 # Send a burst of 16 packets and make sure that 16 are received
300 log_info "=== Tx burst size: 16, Policer burst size: 512 ==="
312 check_err $? "Expected burst size of 16 packets, got $rx packets"
313 log_info "Expected burst size of 16 packets, measured burst size of $rx packets"
320 # Unbind the policer and send a burst of 64 packets. Make sure that
322 log_info "=== Tx burst size: 64, Policer burst size: No policer ==="
336 check_err $? "Expected burst size of 64 packets, got $rx packets"
337 log_info "Expected burst size of 64 packets, measured burst size of $rx packets"
344 log_test "Trap policer burst size"
352 log_info "Running burst test for policer 1"
355 log_info "Running burst test for policer $((last_policer / 2))"
358 log_info "Running burst test for policer $last_policer"