Thread (38 messages) 38 messages, 4 authors, 2018-09-13

Re: [PATCH RFC v3 1/4] mac80211: Add TXQ scheduling API

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2018-09-10 17:40:33

On Mon, 2018-09-10 at 14:39 +0200, Toke Høiland-Jørgensen wrote:
quoted
From then on, right now we basically just try to refill the hardware
queue from the TXQ whenever the hardware releases frames from that
queue. If there are none, we fall back to putting them on the hardware
queue from the wake signal.
OK. So if the TXQ is ineligible to dequeue packets, but still have them
queued, there would need to be a signal (such as wake_txq()) when it
becomes eligible again, right?
Right. It wouldn't have to be wake_txq, but that seems as appropriate as
anything else.

If we were to use ieee80211_airtime_may_transmit(), we'd have to have
something that tells us "I previously told you it may not transmit, but
now I changed my mind" :-)

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help