Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <ron.rindjunsky@xxxxxxxxx>

Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

> ---
>  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];

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux