[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8628FE4E7912BF47A96AE7DD7BAC0AADDDE64704DC@SJEXCHCCR02.corp.ad.broadcom.com>
Date: Sun, 11 Jul 2010 03:02:17 -0700
From: "Vladislav Zolotarov" <vladz@...adcom.com>
To: "David Miller" <davem@...emloft.net>,
"therbert@...gle.com" <therbert@...gle.com>
cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH] bnx2x: add support for receive hashing
> -----Original Message-----
> From: David Miller [mailto:davem@...emloft.net]
> Sent: Sunday, July 11, 2010 5:13 AM
> To: therbert@...gle.com
> Cc: Vladislav Zolotarov; netdev@...r.kernel.org
> Subject: Re: [PATCH] bnx2x: add support for receive hashing
>
> From: Tom Herbert <therbert@...gle.com>
> Date: Wed, 7 Jul 2010 12:17:31 -0700
>
> > It is to enable the device to provide the RSS hash in RX descriptor.
> > The hash severs two purposes now, it's used internally in the device
> > to perform RSS table lookup and also value in RX descriptor. The
> > latter does not require multi-queue. Strictly speaking, on a single
> > processor system without multqueue, it would be true that enabling the
> > RX hash on bnx2x is currently superfluous (notwithstanding some other
> > use of the hash might be implemented).
>
> We intend to use the card provided RSS hash to optimize GSO
> flow comparisons at some point.
Could u explain what did u mean here, pls.? GSO is a Tx flow while RSS hash is generated for the ingress traffic.
>
> There are other possible uses as well.
Could u elaborate, pls?
>
> Therefore even in a single RX queue configuration, the driver
> should provide the hash if it can.
Providing an RSS hash adds an additional work to our FW and HW. We would like to understand why do we need to pay this penalty. And surely we don't want to pay it for a possible use. We'd prefer to pay it when it's really needed.
Thanks,
vlad
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists