]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/qos/makeqosscripts.pl
Revert "QoS: Move packet classification to FORWARD chain for ingress"
[people/pmueller/ipfire-2.x.git] / config / qos / makeqosscripts.pl
index 386a6bffe5fd74573b53d3946663efeb466398c5..394af53b926492f48c40c71edebbde4c6a4369e2 100644 (file)
@@ -58,7 +58,7 @@ my $subclassfile = "/var/ipfire/qos/subclasses";
 my $level7file = "/var/ipfire/qos/level7config";
 my $portfile = "/var/ipfire/qos/portconfig";
 my $tosfile = "/var/ipfire/qos/tosconfig";
-my $fqcodel_options = "limit 800 quantum 500";
+my $fqcodel_options = "limit 10240 quantum 1514";
 
 &General::readhash("${General::swroot}/ethernet/settings", \%netsettings);
 
@@ -405,7 +405,7 @@ print <<END
        ### $qossettings{'IMQ_DEV'}
        ###
 
-       tc qdisc del dev $qossettings{'RED_DEV'} ingress
+       tc qdisc del dev $qossettings{'RED_DEV'} ingress >/dev/null 2>&1
        tc qdisc add dev $qossettings{'RED_DEV'} handle ffff: ingress
 
        ### BRING UP $qossettings{'IMQ_DEV'}