From: "Michael Büsch" <m@bues.ch>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org,
francesco.gringoli@ing.unibs.it
Subject: [RFC][PATCH] b43: do not try sending packets when ring can be full
Date: Sun, 12 Jun 2011 20:48:59 +0200 [thread overview]
Message-ID: <20110612204859.37e7aed5@maggie> (raw)
In-Reply-To: <BANLkTikVLH8xApD4e5uNW-3Eg6kaMXipBg@mail.gmail.com>
On Sun, 12 Jun 2011 20:15:53 +0200
Rafa? Mi?ecki <zajec5@gmail.com> wrote:
> Well, as I said, we may be unable to transmit the first element of the
> queue, but 2nd/3rd/... may be for different ring (qos) (we can
> transmit).
>
> Looping through the whole queue every time, just to find packets we
> may transmit, sounds surely as a bad idea.
I don't think so. It's not that this is an actual queue anyway. It just acts
as a buffer to queue up one or two packets in the small race window of
actually filling up the DMA rings and stopping the mac80211 queue.
(It also acts as a context dispatcher in the first place, though).
So the "looping through the queue" just means checking if one or two packets
can be transmitted now.
next prev parent reply other threads:[~2011-06-12 18:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-12 15:11 [RFC][PATCH] b43: do not try sending packets when ring can be full Rafał Miłecki
2011-06-12 14:36 ` Rafał Miłecki
2011-06-12 16:29 ` Michael Büsch
2011-06-12 18:15 ` Rafał Miłecki
2011-06-12 18:48 ` Michael Büsch [this message]
2011-06-12 19:07 ` Rafał Miłecki
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=20110612204859.37e7aed5@maggie \
--to=m@bues.ch \
--cc=b43-dev@lists.infradead.org \
--cc=francesco.gringoli@ing.unibs.it \
--cc=linux-wireless@vger.kernel.org \
--cc=zajec5@gmail.com \
/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