Displaying 1 result from an estimated 1 matches for "lsceil".
Did you mean:
lceil
2013 Nov 14
1
Possible bug: TC with HFSC fails to load if umax is not provided
...$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 as well as for
htb. The above bug renders umax value in tcclasses MANDATORY when you
provide dmax value.
--
Rad...