This patch updates qos-scripts to support fair traffic sharing using the
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 12 Apr 2011 20:33:11 +0000 (20:33 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 12 Apr 2011 20:33:11 +0000 (20:33 +0000)
commitbb6436338c94fe370eae20d48678c44b0ffdc216
treeb7a173752141524767a4014dc7bbd07626526b3c
parentb5934f69a51e58ea1bb3b0a23113c2c8c7c83542
This patch updates qos-scripts to support fair traffic sharing using the
SFQ with external classifiers method.  It also corrects a bug in the
unsupported ESFQ method already used by qos-scripts.  (ESFQ:
http://fatooh.org/esfq-2.6/ only updated to 2.6.24, it was switched to
an SFQ patch after that and not updated since 2008)

A class can be forced to use SFQ, and an external classifier added like
this:

config class "Normal"
         option avgrate     10
         option priority    30
         option packetdelay 100
         option limitrate   94
#       option qdisc      "sfq perturb 2"
config class "Normal_up"
#       option filter   "protocol all flow hash keys src divisor 1024"
config class "Normal_down"
#       option filter   "protocol all flow hash keys dst divisor 1024"

Using these options, the user needs to load cls_flow before qos-scripts
starts.

I've got more information here:
http://oneitguy.com/blogs/netprince/fair-traffic-sharing-esfq-broken-switching-sfqexternal-classifiers

This has been tested on r23914.

Signed-off-by: Ben Pfountz <netprince<>vt_edu>
SVN-Revision: 26622
package/qos-scripts/Makefile
package/qos-scripts/files/usr/lib/qos/generate.sh
package/qos-scripts/files/usr/lib/qos/tcrules.awk