[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3367B80B08154D42A3B2BC708B5D41F63CC4DA8EC4@EXMAIL.ad.emulex.com>
Date: Mon, 23 May 2011 22:46:48 -0700
From: <Sathya.Perla@...lex.Com>
To: <davem@...emloft.net>
CC: <netdev@...r.kernel.org>
Subject: RE: [PATCH] be2net: hash key for rss-config cmd not set
> -----Original Message-----
> From: David Miller [mailto:davem@...emloft.net]
> Sent: Tuesday, May 24, 2011 1:22 AM
> To: Perla, Sathya
> Cc: netdev@...r.kernel.org
> Subject: Re: [PATCH] be2net: hash key for rss-config cmd not set
>
> From: Sathya Perla <sathya.perla@...lex.com>
> Date: Mon, 23 May 2011 17:55:27 +0530
>
> > Need a random hash key to effectively hash incoming connections into
> > multiple RX rings.
> >
> > Signed-off-by: Sathya Perla <sathya.perla@...lex.com>
>
> You're saying you need a random hash key, yet you're assigning
> a constant.
>
> Why not use a real random number, via get_random() or similar?
I meant to say a non-zero, non-descript value is needed as the hash key. That was the reason I had left the hash variable un-initialized; but on some systems I get a zero value and hashing is not effective. The constant value I tried (not of any significance) seems to work fine.
Pls let me know if you want me to re-send the patch with a more-descriptive changelog...
thanks.
-Sathya
--
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