lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sat, 22 Feb 2014 17:21:56 +0530
From:	Venkat Duvvuru <VenkatKumar.Duvvuru@...lex.com>
To:	<netdev@...r.kernel.org>
CC:	Venkat Duvvuru <VenkatKumar.Duvvuru@...lex.com>
Subject: [PATCH v2 net-next 0/2] patchset - Support for configurable RSS hash key

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(-)

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ