Lines Matching full:limit
62 rate 10Mbit burst 10K limit 1M
108 rate 10Mbit burst 10K limit 1M
238 local limit=$1; shift
242 # Build the below-the-limit backlog using UDP. We could use TCP just
244 # length is below the limit. The main stream is using TCP, and if the
245 # limit is misconfigured, we would see this traffic being ECN marked.
247 backlog=$(build_backlog $((2 * limit / 3)) udp)
250 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
251 log_test "$name backlog < limit"
254 # backlog crosses the limit, and we want to make sure that the backlog
255 # is above the limit.
257 backlog=$(build_backlog $((3 * limit / 2)) tcp tos=0x01)
260 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected >= 95."
261 log_test "$name backlog > limit"
266 local limit=$1; shift
274 ecn_test_common "$name" $limit
277 # limit. Now that it is above, it should all get dropped, and backlog
280 build_backlog $((2 * limit)) udp >/dev/null
282 log_test "$name backlog > limit: UDP early-dropped"
287 local limit=$1; shift
295 ecn_test_common "$name" $limit
298 # limit. Now that it is above, in nodrop mode, make sure it goes to
301 build_backlog $((2 * limit)) udp >/dev/null
303 log_test "$name backlog > limit: UDP not dropped"
308 local limit=$1; shift
313 # is above limit.
318 # Pushing below the queue limit should work.
320 backlog=$(build_backlog $((2 * limit / 3)) tcp tos=0x01)
323 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
324 log_test "RED backlog < limit"
328 backlog=$(build_backlog $((3 * limit / 2)) tcp tos=0x01)
331 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
332 log_test "RED backlog > limit"
337 local limit=$1; shift
353 # Push to the queue until it's at the limit. The configured limit is
355 # limit.
356 build_backlog $((3 * limit / 2)) udp >/dev/null
379 local limit=$1; shift
392 backlog=$(build_backlog $((2 * limit / 3)) tcp tos=0x01)
395 check_err $? "backlog $backlog / $limit Got $pct% mirrored packets, expected == 0."
397 backlog=$(build_backlog $((3 * limit / 2)) tcp tos=0x01)
400 check_err $? "backlog $backlog / $limit Got $pct% mirrored packets, expected >= 95."
412 limit 1M avpkt $PKTSZ probability 1 \