Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
8e5da11f
Commit
8e5da11f
authored
Jul 11, 2013
by
Leigh B Stoller
Browse files
Minor fix to traffic shaping. Bizarre tc syntax.
parent
a625848e
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/xen/libvnode_xen.pm
View file @
8e5da11f
...
...
@@ -2632,8 +2632,9 @@ sub createExpNetworkScript($$$$$$$)
"
htb rate
${rbandw}
ceil
${rbandw}
");
if
(
$type
eq
"
duplex
")
{
# Do not use a colon: in the handle. It BREAKS!
push
(
@cmds
,
"
$TC
qdisc add dev
$ifb
handle
2:2
parent 2:1
"
.
"
$TC
qdisc add dev
$ifb
handle
3
parent 2:1
"
.
"
netem drop
$rplr
delay
${rdelay}
us
");
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment