Re: [ath9k-devel] [PATCH] ath9k: Switch to using mac80211 intermediate software queues.

2017-01-08 Thread Toke Høiland-Jørgensen
Tim Shepard writes: > Thanks for unconfusing me a couple weeks ago, and cluing me into how > the limit on ->pending_frames is not really relevant for the data > packets that go through the new intermediate queues. > > But I'm not sure if this would allow us to remove the limit

[ath9k-devel] [PATCH] ath9k: Switch to using mac80211 intermediate software queues.

2017-01-08 Thread Toke Høiland-Jørgensen
This switches ath9k over to using the mac80211 intermediate software queueing mechanism for data packets. It removes the queueing inside the driver, except for the retry queue, and instead pulls from mac80211 when a packet is needed. The retry queue is used to store a packet that was pulled but

Re: [ath9k-devel] [PATCH] ath9k: Switch to using mac80211 intermediate software queues.

2017-01-08 Thread Toke Høiland-Jørgensen
Tim Shepard writes: >> +static struct sk_buff * >> +ath_tid_pull(struct ath_atx_tid *tid) >> +{ >> +struct ath_softc *sc = tid->an->sc; >> +struct ieee80211_hw *hw = sc->hw; >> +struct ath_tx_control txctl = { >> +.txq = tid->txq, >> +.sta =

Re: [ath9k-devel] [PATCH] ath9k: Switch to using mac80211 intermediate software queues.

2017-01-08 Thread Toke Høiland-Jørgensen
Tim Shepard writes: >> >> You're right that it doesn't check the max. However, this is less of a >> problem now that there is no intermediate queueing in the driver; and >> indeed the utility of haven the qlen_* tunables is somewhat questionable >> with the patch applied: The

Re: [ath9k-devel] [PATCH] ath9k: Switch to using mac80211 intermediate software queues.

2017-01-08 Thread Tim Shepard
Toke, I've been tesing your ath9k patch (using it instead of my earlier ath9k patch) and plan to continue testing it. Thanks for unconfusing me a couple weeks ago, and cluing me into how the limit on ->pending_frames is not really relevant for the data packets that go through the new

Re: [ath9k-devel] [PATCH] ath9k: Switch to using mac80211 intermediate software queues.

2017-01-08 Thread Tim Shepard
> > You're right that it doesn't check the max. However, this is less of a > problem now that there is no intermediate queueing in the driver; and > indeed the utility of haven the qlen_* tunables is somewhat questionable > with the patch applied: The only thing this is going to control is the

Re: [ath9k-devel] [PATCH] ath9k: Switch to using mac80211 intermediate software queues.

2017-01-08 Thread Tim Shepard
Oh cool.. I will try to understand this patch thoroughly in the next couple of days. My patch (both v1 and v2) have one or two bugs (depending on exactly how you count bugs and/or my confusion) (that I know of). At first glance my first bug appears to remain in your reworked patch: > >

Re: [ath9k-devel] [PATCH] ath9k: Switch to using mac80211 intermediate software queues.

2016-07-06 Thread Felix Fietkau
On 2016-07-04 19:46, Toke Høiland-Jørgensen wrote: > Tim Shepard writes: > >> Thanks for unconfusing me a couple weeks ago, and cluing me into how >> the limit on ->pending_frames is not really relevant for the data >> packets that go through the new intermediate queues. >> >>