X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/e148281b008b6e71f06e26e603e3d3c50377b28a..adde7768a2eab2950a7628319ec832c63a00ff03:/target/linux/generic-2.6/patches/200-sched_esfq.patch diff --git a/target/linux/generic-2.6/patches/200-sched_esfq.patch b/target/linux/generic-2.6/patches/200-sched_esfq.patch index dba20cff2..38efcea6d 100644 --- a/target/linux/generic-2.6/patches/200-sched_esfq.patch +++ b/target/linux/generic-2.6/patches/200-sched_esfq.patch @@ -1,7 +1,8 @@ -diff -Naur linux-2.6.20.orig/include/linux/pkt_sched.h linux-2.6.20/include/linux/pkt_sched.h ---- linux-2.6.20.orig/include/linux/pkt_sched.h 2007-02-04 10:44:54.000000000 -0800 -+++ linux-2.6.20/include/linux/pkt_sched.h 2007-02-14 23:58:41.000000000 -0800 -@@ -146,8 +146,40 @@ +Index: linux-2.6.21.7/include/linux/pkt_sched.h +=================================================================== +--- linux-2.6.21.7.orig/include/linux/pkt_sched.h ++++ linux-2.6.21.7/include/linux/pkt_sched.h +@@ -146,8 +146,40 @@ struct tc_sfq_qopt * * The only reason for this is efficiency, it is possible * to change these parameters in compile time. @@ -42,10 +43,11 @@ diff -Naur linux-2.6.20.orig/include/linux/pkt_sched.h linux-2.6.20/include/linu /* RED section */ enum -diff -Naur linux-2.6.20.orig/net/sched/Kconfig linux-2.6.20/net/sched/Kconfig ---- linux-2.6.20.orig/net/sched/Kconfig 2007-02-04 10:44:54.000000000 -0800 -+++ linux-2.6.20/net/sched/Kconfig 2007-02-14 23:58:41.000000000 -0800 -@@ -189,6 +189,26 @@ +Index: linux-2.6.21.7/net/sched/Kconfig +=================================================================== +--- linux-2.6.21.7.orig/net/sched/Kconfig ++++ linux-2.6.21.7/net/sched/Kconfig +@@ -189,6 +189,26 @@ config NET_SCH_SFQ To compile this code as a module, choose M here: the module will be called sch_sfq. @@ -72,10 +74,11 @@ diff -Naur linux-2.6.20.orig/net/sched/Kconfig linux-2.6.20/net/sched/Kconfig config NET_SCH_TEQL tristate "True Link Equalizer (TEQL)" ---help--- -diff -Naur linux-2.6.20.orig/net/sched/Makefile linux-2.6.20/net/sched/Makefile ---- linux-2.6.20.orig/net/sched/Makefile 2007-02-04 10:44:54.000000000 -0800 -+++ linux-2.6.20/net/sched/Makefile 2007-02-14 23:58:41.000000000 -0800 -@@ -24,6 +24,7 @@ +Index: linux-2.6.21.7/net/sched/Makefile +=================================================================== +--- linux-2.6.21.7.orig/net/sched/Makefile ++++ linux-2.6.21.7/net/sched/Makefile +@@ -23,6 +23,7 @@ obj-$(CONFIG_NET_SCH_GRED) += sch_gred.o obj-$(CONFIG_NET_SCH_INGRESS) += sch_ingress.o obj-$(CONFIG_NET_SCH_DSMARK) += sch_dsmark.o obj-$(CONFIG_NET_SCH_SFQ) += sch_sfq.o @@ -83,9 +86,10 @@ diff -Naur linux-2.6.20.orig/net/sched/Makefile linux-2.6.20/net/sched/Makefile obj-$(CONFIG_NET_SCH_TBF) += sch_tbf.o obj-$(CONFIG_NET_SCH_TEQL) += sch_teql.o obj-$(CONFIG_NET_SCH_PRIO) += sch_prio.o -diff -Naur linux-2.6.20.orig/net/sched/sch_esfq.c linux-2.6.20/net/sched/sch_esfq.c ---- linux-2.6.20.orig/net/sched/sch_esfq.c 1969-12-31 16:00:00.000000000 -0800 -+++ linux-2.6.20/net/sched/sch_esfq.c 2007-02-15 00:19:56.000000000 -0800 +Index: linux-2.6.21.7/net/sched/sch_esfq.c +=================================================================== +--- /dev/null ++++ linux-2.6.21.7/net/sched/sch_esfq.c @@ -0,0 +1,704 @@ +/* + * net/sched/sch_esfq.c Extended Stochastic Fairness Queueing discipline.