Lines Matching refs:backlog

8 # to the backlog. Any extra packets sent should almost 1:1 go to backlog. That
9 # is what H2 is used for--it sends the extra traffic to create backlog.
315 qdisc_stats_get $swp3 $(get_qdisc_handle $vlan) .backlog
360 # This sends traffic in an attempt to build a backlog of $size. Returns 0 on
362 # backlog size to stdout.
418 local backlog
421 # Build the below-the-limit backlog using UDP. We could use TCP just
426 backlog=$(build_backlog $vlan $((2 * limit / 3)) udp)
427 check_err $? "Could not build the requested backlog"
429 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
430 log_test "TC $((vlan - 10)): $name backlog < limit"
433 # backlog crosses the limit, and we want to make sure that the backlog
436 backlog=$(build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01)
437 check_err $? "Could not build the requested backlog"
439 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected >= 95."
440 log_test "TC $((vlan - 10)): $name backlog > limit"
456 # Up there we saw that UDP gets accepted when backlog is below the
457 # limit. Now that it is above, it should all get dropped, and backlog
461 check_fail $? "UDP traffic went into backlog instead of being early-dropped"
462 log_test "TC $((vlan - 10)): $name backlog > limit: UDP early-dropped"
497 # Up there we saw that UDP gets accepted when backlog is below the
499 # backlog as well.
502 check_err $? "UDP traffic was early-dropped instead of getting into backlog"
503 log_test "TC $((vlan - 10)): $name backlog > limit: UDP not dropped"
513 local backlog
523 backlog=$(build_backlog $vlan $((2 * limit / 3)) tcp tos=0x01)
524 check_err $? "Could not build the requested backlog"
526 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
527 log_test "TC $((vlan - 10)): RED backlog < limit"
531 backlog=$(build_backlog $vlan $((3 * limit / 2)) tcp tos=0x01)
532 check_fail $? "Traffic went into backlog instead of being early-dropped"
534 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
535 local diff=$((limit - backlog))
538 check_err $? "backlog $backlog / $limit expected <= 10% distance"
539 log_test "TC $((vlan - 10)): RED backlog > limit"
549 local backlog
559 check_err $? "Could not build MC backlog"
561 # Verify that we actually see the backlog on BUM TC. Do a busywait as
566 check_err $? "MC backlog reported by qdisc not visible in ethtool"
571 log_test "TC $((vlan - 10)): Qdisc reports MC backlog"
590 # Create a bit of a backlog and observe no mirroring due to marks.
639 # Create a bit of a backlog and observe no mirroring due to drops.