mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: jeff@garzik.org
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, brice@myri.com
Subject: Re: [git patches] net driver updates for .28
Date: Sat, 20 Sep 2008 00:09:14 -0700 (PDT)	[thread overview]
Message-ID: <20080920.000914.219711773.davem@davemloft.net> (raw)
In-Reply-To: <20080914022236.GA15673@havoc.gtf.org>

From: Jeff Garzik <jeff@garzik.org>
Date: Sat, 13 Sep 2008 22:22:36 -0400

> Please pull from 'davem-next' branch of
> master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git davem-next
> 
> to receive the following updates:

Jeff, I pulled this and I was going to push back out but I couldn't
because there are two or three changes in here I think have major
problems.

First, the two myri10ge patches that do the Toeplitz TX hashing
stuff.

--------------------
myri10ge: Add Toeplitz-hashing related routines

myri10ge uses a Toeplitz hashing. Add the corresponding select_queue()
method without using it yet.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

myri10ge: Add multiqueue TX support

Add multiqueue TX support to myri10ge, using Toeplitz hashing.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
--------------------

No, that is crap.  I didn't create the ->select_tx_queue() callback so
that each and every damn multiqueue driver will override the generic
TX hash function in order to try and make the TX hashing match the RX
hashing.

That's not what it's for.

The callback exists for things like wireless where the queues have
a meaning other than flow seperation.

We (specifically Herbert Xu and myself) know that for routing and
firewalling applications matching the TX queue to the same hashing
namespace of the RX multiqueueing is desirable for best performance.

But we will do that generically by allowing the driver on the receive
side to record the RX hash used (or alternatively, if the exact RSS
hash isn't obtainable, the RX queue index itself) and on TX we will
use this information to select the TX queue properly.

Next, a bad IXGBE change:

--------------------
ixgbe: make compilation with LRO optional

The current ixgbe forces LRO to always be enabled.  This patch makes this
optional due to the fact so that LRO can be disabled in cases where it is
not desirable such as routing or bridging.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
--------------------

Ummm, no.  This is completely unnecessary and it's another thing we
don't want every damn driver doing.  It is almost as bad as making
NAPI configurable.

If the user enables forwarding or bridging, the kernel automatically
disable LRO on the appropriate interfaces.

Jeff, please rebuild your tree with those three patches removed and I'll
repull.  Those patches were near or at the end of the group of changes
for their effected drivers, so there should be absolutely zero conflicts
or merge windows when you do this tree rebuild.

Thanks!

  reply	other threads:[~2008-09-20  7:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-14  2:22 Jeff Garzik
2008-09-20  7:09 ` David Miller [this message]
2008-09-20  7:28   ` Brice Goglin
2008-09-20 10:33     ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2008-09-24 23:07 Jeff Garzik
2008-09-24 23:21 ` David Miller
2008-09-25  6:55 ` Sebastien Dugue
2008-09-25 17:38   ` Jeff Garzik
2008-09-25 20:07     ` David Miller
2008-09-03 14:37 Jeff Garzik
2008-09-03 22:08 ` 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=20080920.000914.219711773.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=brice@myri.com \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®