Lines Matching full:limit
58 rate 10Mbit burst 10K limit 1M
104 rate 10Mbit burst 10K limit 1M
257 local limit=$1; shift
261 # Build the below-the-limit backlog using UDP. We could use TCP just
263 # length is below the limit. The main stream is using TCP, and if the
264 # limit is misconfigured, we would see this traffic being ECN marked.
266 backlog=$(build_backlog $((2 * limit / 3)) udp)
269 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
270 log_test "$name backlog < limit"
273 # backlog crosses the limit, and we want to make sure that the backlog
274 # is above the limit.
276 backlog=$(build_backlog $((3 * limit / 2)) tcp tos=0x01)
279 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected >= 95."
280 log_test "$name backlog > limit"
285 local limit=$1; shift
292 ecn_test_common "$name" $limit
295 # limit. Now that it is above, it should all get dropped, and backlog
298 build_backlog $((2 * limit)) udp >/dev/null
300 log_test "$name backlog > limit: UDP early-dropped"
308 local limit=$1; shift
315 ecn_test_common "$name" $limit
318 # limit. Now that it is above, in nodrop mode, make sure it goes to
321 build_backlog $((2 * limit)) udp >/dev/null
323 log_test "$name backlog > limit: UDP not dropped"
331 local limit=$1; shift
336 # is above limit.
340 # Pushing below the queue limit should work.
342 backlog=$(build_backlog $((2 * limit / 3)) tcp tos=0x01)
345 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
346 log_test "RED backlog < limit"
350 backlog=$(build_backlog $((3 * limit / 2)) tcp tos=0x01)
353 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
354 log_test "RED backlog > limit"
362 local limit=$1; shift
377 # Push to the queue until it's at the limit. The configured limit is
379 # limit.
380 build_backlog $((3 * limit / 2)) udp >/dev/null
406 local limit=$1; shift
418 backlog=$(build_backlog $((2 * limit / 3)) tcp tos=0x01)
421 check_err $? "backlog $backlog / $limit Got $pct% mirrored packets, expected == 0."
423 backlog=$(build_backlog $((3 * limit / 2)) tcp tos=0x01)
426 check_err $? "backlog $backlog / $limit Got $pct% mirrored packets, expected >= 95."
441 limit 1M avpkt $PKTSZ probability 1 \