[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150426.230208.609174325391847955.davem@davemloft.net>
Date: Sun, 26 Apr 2015 23:02:08 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: amirv@...lanox.com
Cc: netdev@...r.kernel.org, ogerlitz@...lanox.com, talal@...lanox.com,
ben@...adent.org.uk
Subject: Re: [PATCH net 0/2] net/ethtool, mlx4_en: RSS hash function
setting fixes
From: Amir Vadai <amirv@...lanox.com>
Date: Sun, 26 Apr 2015 17:36:04 +0300
> Hash function is represented as an eight bit field, every bit represents a
> function. Currently possible values are: 1 for Toeplitz and 2 for XOR.
> This commit changes the representation from bit flags into a value. Because
> only one hash function will be used at a time, there is no sense using bit
> flags for it.
If we ever want to add some kind of control attributes that might
apply to any hash, we'll want flags again.
You can just enforce that only one of these hash function bits can be
set at one time, and be done with it.
--
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