From: "Luis R. Rodriguez" <mcgrof@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: "Luis R. Rodriguez" <mcgrof@bombadil.infradead.org>,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: RFC/RFT: compat-wireless for 2.6.32.4 - MQ backport support
Date: Thu, 21 Jan 2010 10:56:17 -0800 [thread overview]
Message-ID: <43e72e891001211056g104b8eb4u26e1d21b449a26db@mail.gmail.com> (raw)
In-Reply-To: <1264099093.11396.62.camel@johannes.local>
On Thu, Jan 21, 2010 at 10:38 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Thu, 2010-01-21 at 10:16 -0800, Luis R. Rodriguez wrote:
>> On Thu, Jan 21, 2010 at 1:44 AM, Johannes Berg
>> <johannes@sipsolutions.net> wrote:
>> > On Wed, 2010-01-20 at 21:55 -0500, Luis R. Rodriguez wrote:
>> >
>> >> @@ -287,7 +287,13 @@
>> >>
>> >> rcu_read_lock();
>> >> list_for_each_entry_rcu(sdata, &local->interfaces, list)
>> >> +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27))
>> >> netif_tx_wake_queue(netdev_get_tx_queue(sdata->dev, queue));
>> >> +#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23))
>> >> + netif_start_subqueue(sdata->dev, queue);
>> >> +#else
>> >> + netif_wake_queue(sdata->dev);
>> >> +#endif
>> >
>> > That's incorrect, you need to check for all hardware queues being awake.
>>
>> Can you elaborate? I'm not following.
>
> Well something like
>
> stopped = 0;
> for (i = 0; i < hw_queues; i++)
> if (queue_stop_reason[i])
> stopped++;
>
> if (stopped == 0)
> netif_wake_queue()
Got it, thanks.
Luis
prev parent reply other threads:[~2010-01-21 18:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-21 2:55 RFC/RFT: compat-wireless for 2.6.32.4 - MQ backport support Luis R. Rodriguez
2010-01-21 9:44 ` Johannes Berg
2010-01-21 18:16 ` Luis R. Rodriguez
2010-01-21 18:38 ` Johannes Berg
2010-01-21 18:56 ` Luis R. Rodriguez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43e72e891001211056g104b8eb4u26e1d21b449a26db@mail.gmail.com \
--to=mcgrof@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=mcgrof@bombadil.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox