Commit Graph

25 Commits (5af777bdf1cd42bfd7e2ebb2cd3f797fd1a10c6a)

Author SHA1 Message Date
Jo-Philipp Wich d136e7f693 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:33:11 +00:00
Felix Fietkau 23ddbf6c6f qos-scripts: drop the use of IMQ, use ifb and act_connmark instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 01:33:27 +00:00
Vasilis Tsiligiannis 1d7e659795 [package] qos-scripts: Rework qos-stat script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-20 17:33:41 +00:00
Vasilis Tsiligiannis 39fc8e6d08 [package] qos-scripts: Fix generation of IMQ firewall rules on halfduplex mode (#7800)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 21:25:48 +00:00
Travis Kemen 42ce671058 This patch allows the user to specify esfq as the leaf qdisc, as well as perturb and hash parameters, closes #1893
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 17:22:53 +00:00
Jo-Philipp Wich f005240028 [PATCH] [qos-scripts] Reload IMQ only when needed
[PATCH] [qos-scripts] Use config_get_bool for halfduplex option
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 21:16:22 +00:00
Jo-Philipp Wich 322ec6d0f3 [PATCH] [qos-scripts] Fix packet/connection marking when using halfduplex option
This fixes an bug where QoS is not applied to packets passing through 
POSTROUTING chain when using halfduplex option. Since QoS is done on IMQ
device, packets should be marked before sending to the IMQ.
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 21:12:09 +00:00
Jo-Philipp Wich ea65d5323a [PATCH] [qos-scripts] Reload modules with parameters specified
This patch makes qos-scripts reload a module when there is need to pass some
parameters to it. It fixes an issue on devices with more than two interfaces where
many IMQ devices are needed but the module is already loaded with the
default numdevs=2
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 21:10:45 +00:00
Felix Fietkau 4d378bda90 get rid of a remaining reference to ipp2p
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 19:19:53 +00:00
Florian Fainelli e196ce5df5 Load xt_layer7 for 2.6 kernels (#3269)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-27 14:47:54 +00:00
Felix Fietkau 2f8b5f8c28 Here comes the new UCI. Enjoy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00
Felix Fietkau 7ed9076d0e add qos-scripts patch from #2385
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 09:19:48 +00:00
Felix Fietkau a6131c8f6e qos-scripts: add patch for tos and dscp support from #2291
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 09:27:22 +00:00
Felix Fietkau bff3cdfc2e remove a warning that has confused a few people
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 06:15:50 +00:00
Felix Fietkau e8bd92335a qos-scripts update:
- rewrite the RED qdisc calculations and add some comments
this should fix the warnings about bursting (should also fix quirks with various linespeed settings)
- reduce the calculated overhead for upstream, while i'm at it...


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 02:34:03 +00:00
Felix Fietkau 3dd8226794 add direction matching patch for qos-scripts from #1708
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-11 16:32:38 +00:00
Felix Fietkau ea9d43e9cf fix error handling in qos-scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-02 05:21:54 +00:00
Felix Fietkau fd5f2e3852 add qos-scripts connbytes match from #1618
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-04 22:10:40 +00:00
Felix Fietkau 4ce3d2ea13 qos-scripts update - fix enabling/disabling of interfaces, make the overhead calculation optional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-24 19:24:08 +00:00
Felix Fietkau 52b2434e7f fix a small typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-24 16:54:18 +00:00
Felix Fietkau 87caff3482 qos-scripts: fix RED burst calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-07 00:20:48 +00:00
Felix Fietkau 7fd37b30fc update qos-scripts to v1.1 - rewritten hfsc rate calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-06 16:59:56 +00:00
Felix Fietkau 4c5d5d4307 fix qos-scripts RED qdisc calculation for slow lines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-19 02:53:02 +00:00
Felix Fietkau d475cb81c7 allow the user to disable downlink shaping by removing the option download ... line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-11 15:25:07 +00:00
Felix Fietkau 19b00416ab add qos-scripts package port for buildroot-ng
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-06 17:38:48 +00:00