summaryrefslogtreecommitdiffstats
path: root/include/linux/pkt_sched.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-15 02:52:19 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-17 19:21:04 -0700
commit1d8ae3fdeb001b8f534a6782c261aba6ec1779f5 (patch)
tree5c488f59f674ba2c42755a6c34f69ac80824f213 /include/linux/pkt_sched.h
parent09e83b5d7d1878065e2453239b49b684cd0fe4e5 (diff)
downloadlinux-stable-1d8ae3fdeb001b8f534a6782c261aba6ec1779f5.tar.gz
linux-stable-1d8ae3fdeb001b8f534a6782c261aba6ec1779f5.tar.bz2
linux-stable-1d8ae3fdeb001b8f534a6782c261aba6ec1779f5.zip
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 <davem@davemloft.net>
Diffstat (limited to 'include/linux/pkt_sched.h')
-rw-r--r--include/linux/pkt_sched.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h
index dbb7ac37960d..87f4e0fa8f27 100644
--- a/include/linux/pkt_sched.h
+++ b/include/linux/pkt_sched.h
@@ -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