You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3ff4dc3
Browse filesBrowse the repository at this point in the historyBrowse files
Nothing in the model could hold a port below its link speed, which a
virtual port has none of, so there was no way to put the traffic
classes under load there and see the scheduler work. The design has
the node for it, one token bucket on the whole port.
Add /interfaces/interface/qos/egress/rate-limit with a rate in bits per
second and an optional burst, rendered as a 'tc tbf' root with the ets
scheduler beneath it:
tc qdisc add dev e1 root handle 1: tbf rate 10000000bit burst 12500 latency 100ms
tc qdisc add dev e1 parent 1:1 handle 2: ets bands 8 strict 8 priomap ...
An unset burst covers ten milliseconds at rate, never less than one
frame. mqprio can only be the root, so a rate limited port schedules
with ets. The operational offload list gains 'rate-limit', reported
when the driver marks the tbf offloaded. NET_SCH_TBF is enabled on all
boards.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
0 commit comments