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>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1416493610-8966-1-git-send-email-amirv@mellanox.com>
Date:	Thu, 20 Nov 2014 16:26:48 +0200
From:	Amir Vadai <amirv@...lanox.com>
To:	"David S. Miller" <davem@...emloft.net>
Cc:	netdev@...r.kernel.org, Ben Hutchings <ben@...adent.org.uk>,
	Or Gerlitz <ogerlitz@...lanox.com>,
	Yevgeny Petrilin <yevgenyp@...lanox.com>,
	Amir Vadai <amirv@...lanox.com>
Subject: [PATCH net-next V1 0/2] ethtool, net/mlx4_en: RSS hash function selection

Hi,

This patchset by Eyal adds support in set/get of RSS hash function. Current
supported functions are Toeplitz and XOR. The API is design to enable adding
new hash functions without breaking backward compatibility.
Userspace patch will be sent after API is available in kernel.

The patchset was applied and tested over commit 7b909bb ("Merge branches
'core', 'cxgb4', 'iser', 'mlx5' and 'ocrdma' into for-next")

Amir

Changes from V0:
- Patch 1/2 - ethtool: Support for configurable RSS hash function:
 - Add ETH prefix to RSS_HASH_* definitions
 - Moved the strings array to ethtool.c
 - Extend {get,set}_rxfh with additional arg instead of adding new
   ethtool_option and adopt the change into drivers implementations.
 - Moved indir_size and key_size validation into drivers implantation
 - Documented hfunc filed in ethtool_rxfh struct
- Patch 2/2 - net/mlx4_en: Support for configurable RSS hash function
 - Remove redundant priv->rss_hash_fn_caps 
 - Use == operator instead & when determining requested hash function. 


Eyal Perry (2):
  ethtool: Support for configurable RSS hash function
  net/mlx4_en: Support for configurable RSS hash function

 drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c       | 11 ++-
 .../net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c    | 14 +++-
 drivers/net/ethernet/broadcom/tg3.c                | 14 +++-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c    | 14 +++-
 drivers/net/ethernet/emulex/benet/be_ethtool.c     | 14 +++-
 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c   | 14 +++-
 drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c | 14 +++-
 drivers/net/ethernet/intel/igb/igb_ethtool.c       | 14 +++-
 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c    | 86 +++++++++++++++++-----
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c     | 11 +++
 drivers/net/ethernet/mellanox/mlx4/en_rx.c         | 13 +++-
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h       |  2 +-
 drivers/net/ethernet/sfc/ethtool.c                 | 16 +++-
 drivers/net/vmxnet3/vmxnet3_ethtool.c              | 13 +++-
 include/linux/ethtool.h                            | 42 ++++++++---
 include/uapi/linux/ethtool.h                       | 10 ++-
 net/core/ethtool.c                                 | 69 +++++++++--------
 17 files changed, 281 insertions(+), 90 deletions(-)

-- 
1.8.3.4

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