ESFQ --> SFQ patches for Linux 2.6.24
Subsystems (3)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · David Miller
From: "Brock Noland" <[email protected]>
Date: Sat, 9 Feb 2008 20:30:58 -0600Quoted 1 line
Is this going to be merged anytime soon?
Quoted 7 lines
If it gets submitted to the proper mailing list, it might. 'linux-net' is for user questions, it is not where the networking developers hang out, 'netdev' is.
And you have to post patches for review, not URL's point to the patches. It has to be int he email, in an applyable form so people can review the thing properly.
Since SFQ is not exactly simple and I needed something like this myself, I followed Paul's suggestion and added a new scheduler (DRR) for this with more flexible limits.
I'll rediff against net-2.6.26 within the next days and send a final version for review (anyone interested is welcome to already review this version of course :).
commit 13d0cc64d0f7fed945c357cf4ca43330c8f95ad2
Author: Patrick McHardy <[email protected]> Date: Mon Feb 18 22:21:55 2008 +0100
[NET_SCHED]: Add DRR scheduler
include/linux/pkt_sched.h +16 -0
@@ -482,4 +482,20 @@ struct tc_netem_corrupt#define NETEM_DIST_SCALE 8192 +/* DRR */ + +enum +{ +TCA_DRR_UNSPEC , +TCA_DRR_QUANTUM , + __TCA_DRR_MAX +}; + +#define TCA_DRR_MAX (__TCA_DRR_MAX - 1) + +struct tc_drr_stats +{ +s32 deficit; +}; +#endif
net/sched/Kconfig +3 -0
@@ -196,6 +196,9 @@ config NET_SCH_NETEM If unsure, say N. +config NET_SCH_DRR + tristate "DRR scheduler" + config NET_SCH_INGRESS tristate "Ingress Qdisc" depends on NET_CLS_ACT
net/sched/Makefile +1 -0
@@ -28,6 +28,7 @@ obj-$(CONFIG_NET_SCH_TEQL) += sch_teql.o obj-$(CONFIG_NET_SCH_PRIO) += sch_prio.o obj-$(CONFIG_NET_SCH_ATM) += sch_atm.o obj-$(CONFIG_NET_SCH_NETEM) += sch_netem.o +obj-$(CONFIG_NET_SCH_DRR) += sch_drr.o obj-$(CONFIG_NET_CLS_U32) += cls_u32.o obj-$(CONFIG_NET_CLS_ROUTE4) += cls_route.o obj-$(CONFIG_NET_CLS_FW) += cls_fw.o
net/sched/sch_drr.c new file +534 -0
534 lines not on this page · raw message