2008-01-30 10:59:59

by Ron Rindjunsky

[permalink] [raw]
Subject: [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(-)

diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c
index 7bbc793..f12e044 100644
--- a/net/mac80211/wme.c
+++ b/net/mac80211/wme.c
@@ -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];
--
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.



2008-01-30 11:12:50

by Tomas Winkler

[permalink] [raw]
Subject: Re: [PATCH 1/1] mac80211: adjustable number of bits for qdisc pool

On Jan 30, 2008 1:07 PM, Tomas Winkler <[email protected]> wrote:
> 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

2008-01-30 12:41:32

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH 1/1] mac80211: adjustable number of bits for qdisc pool


On Wed, 2008-01-30 at 12:58 +0200, Ron Rindjunsky wrote:
> 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.

> Signed-off-by: Ron Rindjunsky <[email protected]>

Acked-by: Johannes Berg <[email protected]>

> ---
> net/mac80211/wme.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c
> index 7bbc793..f12e044 100644
> --- a/net/mac80211/wme.c
> +++ b/net/mac80211/wme.c
> @@ -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];


Attachments:
signature.asc (828.00 B)
This is a digitally signed message part