diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2015-07-23 23:35:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-27 00:29:16 -0700 |
commit | 2be6967cdbc95a9960b620defedbf5e02e2af619 (patch) | |
tree | 9ee191679bcef818809fc24b0c9a52cfa23230e0 /include/linux | |
parent | fda19e83fb615edb1555e7a07130695cf0073d20 (diff) | |
download | op-kernel-dev-2be6967cdbc95a9960b620defedbf5e02e2af619.zip op-kernel-dev-2be6967cdbc95a9960b620defedbf5e02e2af619.tar.gz |
net/mlx5e: Support ETH_RSS_HASH_XOR
The ConnectX-4 HW implements inverted XOR8.
To make it act as XOR we re-order the HW RSS indirection table.
Set XOR to be the default RSS hash function and add ethtool API to
control it.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mlx5/mlx5_ifc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 6d2f6fe..c60a62b 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -1936,9 +1936,9 @@ enum { }; enum { - MLX5_TIRC_RX_HASH_FN_HASH_NONE = 0x0, - MLX5_TIRC_RX_HASH_FN_HASH_INVERTED_XOR8 = 0x1, - MLX5_TIRC_RX_HASH_FN_HASH_TOEPLITZ = 0x2, + MLX5_RX_HASH_FN_NONE = 0x0, + MLX5_RX_HASH_FN_INVERTED_XOR8 = 0x1, + MLX5_RX_HASH_FN_TOEPLITZ = 0x2, }; enum { |