From: Jeff Garzik <jeff@garzik.org>
To: Auke Kok <auke-jan.h.kok@intel.com>
Cc: e1000-devel@lists.sourceforge.net, netdev@vger.kernel.org
Subject: Re: [PATCH 1/5] ixgbe: Introduce MSI-X queue vector code
Date: Wed, 05 Mar 2008 06:30:33 -0500 [thread overview]
Message-ID: <47CE8459.6080006@garzik.org> (raw)
In-Reply-To: <20080303230345.25151.48298.stgit@localhost.localdomain>
Auke Kok wrote:
> From: Ayyappan Veeraiyan <ayyappan.veeraiyan@intel.com>
>
> This code abstracts the per-queue MSI-X interrupt vector into
> a queue vector layer. This abstraction is needed since there can
> be many more queues than available MSI-X vectors in a machine.
>
> The MSI-X irq vectors are remapped to a shared queue vector which
> can point to several (both RX and TX) hardware queues. The NAPI
> algorithm then cleans the appropriate ring/queues on interrupt
> or poll.
>
> The remapping is a delicate and complex calculation to make sure
> that we're not unbalancing the irq load, and spreads the irqs
> as much as possible, and may combine RX and TX flows onto the
> same queue vector.
>
> This effectively enables receive flow hashing across vectors
> and helps irq load balance across CPUs.
>
> Signed-off-by: Ayyappan Veeraiyan <ayyappan.veeraiyan@intel.com>
> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
> Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
> Acked-by: Waskiewicz Jr, Peter P <peter.p.waskiewicz.jr@intel.com>
applied 1-5 to #upstream (2.6.26)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
prev parent reply other threads:[~2008-03-05 11:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-03 23:03 [PATCH 1/5] ixgbe: Introduce MSI-X queue vector code Auke Kok
2008-03-03 23:03 ` [PATCH 2/5] ixgbe: Introduce Multiqueue TX Auke Kok
2008-03-03 23:03 ` [PATCH 3/5] ixgbe: Introduce adaptive interrupt moderation Auke Kok
2008-03-03 23:04 ` [PATCH 4/5] ixgbe: Add optional DCA infrastructure Auke Kok
2008-03-03 23:04 ` [PATCH 5/5] ixgbe: Increment version Auke Kok
2008-03-05 11:30 ` Jeff Garzik [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=47CE8459.6080006@garzik.org \
--to=jeff@garzik.org \
--cc=auke-jan.h.kok@intel.com \
--cc=e1000-devel@lists.sourceforge.net \
--cc=netdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).