mac80211: adjustable number of bits for qdisc pool
PATCH 1/1 mac80211: adjustable number of bits for qdisc pool
This fix allows to control the number of bits that qdiscs book keeping can be done for with respect to the qdisc pool
Signed-off-by Ron Rindjunsky <[email protected]>
--- net/mac80211/wme.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/mac80211/wme.c +1 -1
@@ -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 · 9 lines
1.5.3.3 --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Quoted 2 lines · Ron Rindjunsky
This fix allows to control the number of bits that qdiscs book keeping can be done for with respect to the qdisc pool
Yeah this is what I was thinking.
Quoted 1 line
Signed-off-by Ron Rindjunsky <[email protected]>
Acked-by Johannes Berg <[email protected]>
Quoted 17 lines
--- net/mac80211/wme.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)net/mac80211/wme.c +1
-1@@ -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 ];