net/mlx4_en: Support for configurable RSS hash function
authorEyal Perry <eyalpe@mellanox.com>
Tue, 2 Dec 2014 16:12:11 +0000 (18:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 02:07:10 +0000 (21:07 -0500)
commit947cbb0ac242096d60380952ec1a1761372cba66
treed22d19869b349a9abfc8f52dbbb9ae4c531ff7c6
parent892311f66f2411b813ca631009356891a0c2b0a1
net/mlx4_en: Support for configurable RSS hash function

The ConnectX HW is capable of using one of the following hash functions:
Toeplitz and an XOR hash function. This patch extends the implementation
of the mlx4_en driver set/get_rxfh callbacks to support getting and
setting the RSS hash function used by the device.

Signed-off-by: Eyal Perry <eyalpe@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/en_rx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h