DORMANTno replies

Revision v2 of 7 in this series.

Revisions (7)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v2 current
  4. v4 [diff vs current]
  5. v5 [diff vs current]
  6. v6 [diff vs current]
  7. v7 [diff vs current]

[PATCH v2 net-next 0/2] patchset - Support for configurable RSS hash key

From: Venkat Duvvuru <hidden>
Date: 2014-02-22 11:51:54

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 ethtool_get_rxfh_indir to ethtool_get_rxfh and  ethtool_set_rxfh_indir to ethtool_set_rxfh.
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

 drivers/net/ethernet/emulex/benet/be.h         |   12 ++-
 drivers/net/ethernet/emulex/benet/be_cmds.c    |    7 +-
 drivers/net/ethernet/emulex/benet/be_cmds.h    |    2 +-
 drivers/net/ethernet/emulex/benet/be_ethtool.c |  103 +++++++++++--
 drivers/net/ethernet/emulex/benet/be_main.c    |   31 +++--
 include/linux/ethtool.h                        |   17 ++-
 include/uapi/linux/ethtool.h                   |   38 +++--
 net/core/ethtool.c                             |  207 ++++++++++++++++--------
 8 files changed, 302 insertions(+), 115 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help