Displaying 1 result from an estimated 1 matches for "rawrat".
Did you mean:
rawat
2013 Nov 14
1
Possible bug: TC with HFSC fails to load if umax is not provided
...un_tc class add dev $device parent $devicenumber:$parent
classid $classid hfsc";
if ( $dmax ) {
my $umax = $tcref->{umax} ? "$tcref->{umax}b" : "\${${dev}_mtu}b";
$rule .= " sc umax $umax dmax ${dmax}ms";
$rule .= " rate $rate" if $rawrate;
} else {
$rule .= " sc rate $rate" if $rawrate;
}
$rule .= " ls rate ${lsceil}kbit" if $lsceil;
$rule .= " ul rate $tcref->{ceiling}kbit" if $tcref->{ceiling};
emit $rule;
}
It appears that ${dev}_mtu line should be emitted for hfsc a...