commit | 6b8dc4deea219d6c4392707bb647cc49cdc46da7 | [log] [tgz] |
---|---|---|
author | Hagen Paul Pfeifer <hagen@jauu.net> | Thu Jan 19 14:28:27 2012 -0800 |
committer | Stephen Hemminger <shemminger@vyatta.com> | Thu Jan 19 14:28:27 2012 -0800 |
tree | f7598ba9a25a777a69358b5c39fb27bb23d11be3 | |
parent | 30d10db5667d3ca86917ca86c1a65cfcc45965f9 [diff] |
tc: netem rate shaping and cell extension This patch add rate shaping as well as cell support. The link-rate can be specified via rate options. Three optional arguments control the cell knobs: packet-overhead, cell-size, cell-overhead. To ratelimit eth0 root queue to 5kbit/s, with a 20 byte packet overhead, 100 byte cell size and a 5 byte per cell overhead: tc qdisc add dev eth0 root netem rate 5kbit 20 100 5 Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>