netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] ethtool, net/mlx4_en: RSS hash function selection
@ 2014-11-05 11:59 Amir Vadai
  2014-11-05 11:59 ` [PATCH net-next 1/2] ethtool: Support for configurable RSS hash function Amir Vadai
  2014-11-05 11:59 ` [PATCH net-next 2/2] net/mlx4_en: " Amir Vadai
  0 siblings, 2 replies; 10+ messages in thread
From: Amir Vadai @ 2014-11-05 11:59 UTC (permalink / raw)
  To: David S. Miller, Ben Hutchings
  Cc: netdev, Or Gerlitz, Eyal Perry, Yevgeny Petrilin, Amir Vadai

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.
If a driver want to use this API need to implement [gs]et_rxfh_func() callbacks
in ethtool_ops.
Userspace patch will be sent after API is available in kernel.

The patchset was applied and tested over commit 30349bd ("net: phy: spi_ks8995:
remove sysfs bin file by registered attribute")

Amir

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

 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 40 +++++++++++++++++++
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c  |  9 +++++
 drivers/net/ethernet/mellanox/mlx4/en_rx.c      | 11 ++++--
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h    |  3 +-
 include/linux/ethtool.h                         | 28 +++++++++++++
 include/uapi/linux/ethtool.h                    |  6 ++-
 net/core/ethtool.c                              | 52 +++++++++++++++++--------
 7 files changed, 127 insertions(+), 22 deletions(-)

-- 
1.8.3.4

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-11-06  9:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-05 11:59 [PATCH net-next 0/2] ethtool, net/mlx4_en: RSS hash function selection Amir Vadai
2014-11-05 11:59 ` [PATCH net-next 1/2] ethtool: Support for configurable RSS hash function Amir Vadai
2014-11-05 21:51   ` Ben Hutchings
2014-11-06  9:41     ` Eyal perry
2014-11-05 11:59 ` [PATCH net-next 2/2] net/mlx4_en: " Amir Vadai
2014-11-05 12:27   ` Or Gerlitz
2014-11-05 13:05     ` Eyal perry
2014-11-05 13:30       ` Or Gerlitz
2014-11-05 13:48         ` Eyal perry
2014-11-05 13:53   ` Or Gerlitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).