netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Gallatin <gallatin@myri.com>
To: netdev <netdev@vger.kernel.org>
Subject: How do I use multiqueue tx
Date: Tue, 03 Jun 2008 11:34:18 -0400	[thread overview]
Message-ID: <4845647A.7060002@myri.com> (raw)


I've done a patch to myri10ge which enables the use of multiple
transmit queues in our Linux driver using CONFIG_NETDEVICES_MULTIQUEUE
netdev subqueues.  Our current hardware uses multiple queues purely
for increasing host parallelism, not priority/QOS.  I'm looking for a
way, beyond pktgen, to actually use any transmit queue other than 0 to
increase parallelism.

Ideally, we would like to support hashing connections on egress to the
same tx/rx queue pair (and hence MSI-X irq) as our device will hash
the traffic to on ingress.  As far as I can tell, the qdisc layer is
where this hashing currently must happen.  Is this correct?  Or is
there a hook which would allow a driver to supply a hash function to
select the egress queue prior to its transmit function being called?

Otherwise, is my only option to write an entire new qdisc which does
the same sort of hashing as our nic, and force the admin to use tc to
select my custom qdisc?

Thanks,

Drew

             reply	other threads:[~2008-06-03 16:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03 15:34 Andrew Gallatin [this message]
2008-06-03 16:10 ` How do I use multiqueue tx David Miller
2008-06-03 17:13   ` Andrew Gallatin

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=4845647A.7060002@myri.com \
    --to=gallatin@myri.com \
    --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).