From: PJ Waskiewicz <peter.p.waskiewicz.jr@intel•com>
To: davem@davemloft•net
Cc: netdev@vger•kernel.org
Subject: [PATCH] SCHED: Fix unnecesary driver entries when queue is stopped
Date: Tue, 13 Nov 2007 09:44:44 -0800 [thread overview]
Message-ID: <20071113174444.27916.1892.stgit@localhost.localdomain> (raw)
Dave,
This patch addresses an issue with multiqueue devices and non-multiqueue
qdiscs which is causing performance issues. This patch should be
considered for both 2.6.23-stable and 2.6.24 upstream. Basically, if
a driver is using the netif_*_subqueue() calls, then qdisc_restart() will
happily call hard_start_xmit() even if subqueue 0 is stopped, which is bad.
This re-adds the check for the subqueue state.
Note that this check was removed when qdisc_restart() was rewritten. At that
time though, we didn't understand the full effect of multiqueue with respect
to the qdiscs and queue management from a driver to kernel perspective. Since
the driver doesn't know what qdisc capabilities live above it, it needs to
decide to use the queue or subqueue functions ahead of time. This patch is
just cleaning up a miss from that rewrite.
Patch 1 is for 2.6.24, patch 2 is for 2.6.23 stable.
Thanks,
--
PJ Waskiewicz <peter.p.waskiewicz.jr@intel•com>
next reply other threads:[~2007-11-14 0:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-13 17:44 PJ Waskiewicz [this message]
2007-11-13 17:44 ` [PATCH] PATCH 1/2 [SCHED 2.6.24]: Check subqueue status before calling hard_start_xmit PJ Waskiewicz
2007-11-14 4:41 ` David Miller
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=20071113174444.27916.1892.stgit@localhost.localdomain \
--to=peter.p.waskiewicz.jr@intel$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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