[PATCH v2 ethtool 0/2] patchset - Support for configurable RSS hash key
From: Venkat Duvvuru <hidden>
Date: 2014-02-22 11:41:40
NIC drivers that support RSS use either a hard-coded value or a random value for the RSS hash key. Irrespective of the type of the key used, the user would want to change the hash key if he/she is not satisfied with the effectiveness of the default hash-key in spreading the incoming flows evenly across the RSS queues. This patch set adds support for configuring the RSS hash-key via the ethtool interface using .X/-x option. The patch set consists of user space ethtool patches. Kernel changes are submitted as a separate patch set. v2 changes: 1. Integrated hash-key configuration with indirection table configuration and renamed do_grxfhindir to do_grxfh, do_srxfhindir to do_srxfh. 2. Renamed ethtool_rxfh_indir structure to ethtool_rxfh. This new structure will accommodate for both Rx flow hash indirection table and key. 3. Hash key is made variable length. 4. Changes will enable user to set indirection table alone, hash key alone and both as well. Venkat Duvvuru (2): ethtool: Support for configurable RSS hash key ethtool: Support for configurable RSS hash key ethtool-copy.h | 42 ++++++---- ethtool.8.in | 18 +++-- ethtool.c | 253 ++++++++++++++++++++++++++++++++++++++++++++------------ 3 files changed, 237 insertions(+), 76 deletions(-)