Skip to contentSkip to conversation

mac80211: adjustable number of bits for qdisc pool

PATCH In review Tomas Winkler 2 participants 2 messages Jan 30, 2008 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211: adjustable number of bits for qdisc pool

From: Ron Rindjunsky <[email protected]>

This fix allows to control the number of bits that qdiscs book keeping can be done for with respect to the qdisc pool

---
 net/mac80211/wme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/mac80211/wme.c +1 -1
index 7bbc793..f12e044 100644
@@ -25,7 +25,7 @@ const int ieee802_1d_to_ac[8] = { 2, 3, 3, 2, 1, 1, 0, 0 };
 
 struct ieee80211_sched_data
 {
-	unsigned long qdisc_pool;
+	unsigned long qdisc_pool[BITS_TO_LONGS(TC_80211_MAX_QUEUES)];
 	struct tcf_proto *filter_list;
 	struct Qdisc *queues[TC_80211_MAX_QUEUES];
 	struct sk_buff_head requeued[TC_80211_MAX_QUEUES];
Signature · 1 line
1.5.2.2
#1 lore raw
Quoted 4 lines · Tomas Winkler

From: Ron Rindjunsky <[email protected]>

This fix allows to control the number of bits that qdiscs book keeping can be done for with respect to the qdisc pool

Oops. We got a bit out of sync with Ron. Please ignore this one Tomas