: pkt_sched: Remove RR scheduler.
Subsystems (3)
David Miller
maintainerPATCH 3/13 : pkt_sched: Remove RR scheduler.
This actually fixes a bug added by the RR scheduler changes. The ->bands and ->prio2band parameters were being set outside of the sch_tree_lock() and thus could result in strange behavior and inconsistencies.
It might be possible, in the new design (where there will be one qdisc per device TX queue) to allow similar functionality via a TX hash algorithm for RR but I really see no reason to export this aspect of how these multiqueue cards actually implement the scheduling of the the individual DMA TX rings and the single physical MAC/PHY port.
Signed-off-by David S. Miller <[email protected]>
--- include/linux/pkt_sched.h | 9 --- net/sched/sch_prio.c | 136 +++++--------------------------------------- 2 files changed, 16 insertions(+), 129 deletions(-)
include/linux/pkt_sched.h +0 -9
@@ -103,15 +103,6 @@ struct tc_prio_qopt__u8 priomap[TC_PRIO_MAX +1 ];/* Map: logical priority -> PRIO band */ }; -enum -{ -TCA_PRIO_UNSPEC , -TCA_PRIO_MQ , - __TCA_PRIO_MAX -}; - -#define TCA_PRIO_MAX (__TCA_PRIO_MAX - 1) -/* TBF section */ struct tc_tbf_qopt
net/sched/sch_prio.c +16 -120
211 lines not on this page · raw message
Signature · 1 line
1.5.6.2.255.gbed62