search for: calculate_quantum

Displaying 2 results from an estimated 2 matches for "calculate_quantum".

2006 Apr 28
0
Add burst when using shorewal internal tc
...06-04-28 19:14:30.000000000 +0300 @@ -3390,7 +3390,7 @@ [ -n "$devnum" ] || fatal_error "Device $device not defined in $devfile" - ensure_and_save_command tc class add dev $device parent $devnum:1 classid $classid htb rate $rate ceil $ceil prio $prio quantum $(calculate_quantum $rate) + ensure_and_save_command tc class add dev $device parent $devnum:1 classid $classid htb rate $rate ceil $ceil burst 10k prio $prio quantum $(calculate_quantum $rate) ensure_and_save_command tc qdisc add dev $device parent $classid handle 1$mark: sfq perturb 10 # add...
2013 Nov 14
1
Possible bug: TC with HFSC fails to load if umax is not provided
...ewall/Tc.pm line 2167: emit ( "${dev}_mtu=\$(get_device_mtu $device)", "${dev}_mtu1=\$(get_device_mtu1 $device)" ) if $qdisc eq ''htb''; /usr/share/shorewall/Shorewall/Tc.pm line 2242: if ( $devref->{qdisc} eq ''htb'' ) { $quantum = calculate_quantum $rate, calculate_r2q( $devref->{out_bandwidth} ); emit ( "[ \$${dev}_mtu -gt $quantum ] && quantum=\$${dev}_mtu || quantum=$quantum" ); emit ( "run_tc class add dev $device parent $devicenumber:$parent classid $classid htb rate $rate ceil $tcref->{ceiling}kbit p...