Search Linux Wireless

Re: [ath9k-devel] [RFC] ath9k: fix tx queue selection

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

 



On 2010-11-02 5:13 PM, Björn Smedman wrote:
> Hi all,
> 
> The following patch attempts to fix some problems with ath9k tx queue 
> selection:
> 
> 1. There was a posible mismatch between the queue selected for QoS packets 
> (on which locking, queue start/stop and statistics where performed) and 
> the queue actually used for TX. This is fixed by selecting the tx queue 
> based on the TID of the 802.11 header for this type of packet.
This should not be necessary. mac80211 should take care of queue
selection properly for QoS frames. If it doesn't, then that is the bug
that needs to be fixed...

> 2. Even with the above fix there was still a risk of mac80211 queue 
> "deadlock" because the queue to stop was selected on the basis of the skb 
> queue mapping whereas the queue to start was selected based on the hardware
> tx queue to mac80211 queue mapping. These may not in all situations be one 
> and the same.
Instead of working around this, we need to make sure that those are
always identical.

> This patch is against latest wireless-testing but I've only tested it 
> against compat-wireless-2010-10-19 with openwrt patches on top (including 
> Luis latest pcu lock patch) and some other patches I'm working on. If you 
> can run wireless-testing directly, please give it a spin. For me it's a 
> big improvement in stability under high tx/rx load. 
> 
> Any thoughts?
Let's do a thorough review of the tx path and figure out where the
mismatch is actually coming from.

- Felix
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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