From 4821d5e8b79fb3ac5b474ddfd6722e310e9f7304 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 13 Jan 2010 08:11:49 -0800 Subject: [PATCH] Change quantum to 1875 for simple TC SFQ. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Tc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index 8f1bcc86d..eee052bdf 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -481,7 +481,7 @@ sub process_simple_device() { my $i = 0; while ( ++$i <= 3 ) { - emit "run_tc qdisc add dev $physical parent $number:$i handle ${number}${i}: sfq quantum 1500 limit 127 perturb 10"; + emit "run_tc qdisc add dev $physical parent $number:$i handle ${number}${i}: sfq quantum 1875 limit 127 perturb 10"; emit "run_tc filter add dev $physical protocol all parent $number: handle $i fw classid $devnum:$i"; emit "run_tc filter add dev $physical protocol all prio 1 parent ${number}$i: handle ${number}${i} flow hash keys $type divisor 1024" if $type ne '-'; emit '';