1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 19:50:49 +02:00
Commit Graph

30 Commits

Author SHA1 Message Date
jow
691f0d412e 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
nbd
e41573c89a qos-scripts: remove the layer7 based classifiers from the default configuration - they are unreliable and prone to memory leaks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 10:44:27 +00:00
nbd
d731257770 qos-scripts: disable overhead calculation by default, it does not work properly for many line speeds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 00:30:09 +00:00
nbd
5e317a6c87 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
acinonyx
67fd33b342 [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
acinonyx
0ced2f56c5 [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
thepeople
1f928356b8 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
jow
1b0c13b756 [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
jow
5d37860a9d [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
jow
0f805cdf51 [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
nbd
ae2d329bfb 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
nbd
8337a6115f qos-scripts: remove ipp2p from the default ruleset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 16:28:54 +00:00
florian
2c7451b345 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
nbd
afa5da1d1b 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
nbd
ca30392f87 do not fire up the qos-scripts hotplug part if the init script is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-27 14:06:07 +00:00
nbd
7bf3db327e 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
nbd
c80b7f575e 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
nbd
119dd315ef 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
nbd
cbddbcdae4 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
nbd
c9c60d5d8c 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
nbd
3ebcfb0dbf 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
nbd
6c640d00de 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
nbd
814b429c34 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
nbd
25a8ad6277 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
nbd
24bc8c27dc 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
nbd
622ea9fa13 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
nbd
20b90a1252 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
nbd
b955110656 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
nbd
5eca1169a0 init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 21:03:30 +00:00
nbd
2517aebf84 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