net/mlx5e: Use only close NUMA node for default RSS
authorTariq Toukan <tariqt@mellanox.com>
Wed, 20 Apr 2016 19:02:11 +0000 (22:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 19:09:04 +0000 (15:09 -0400)
commitd8c9660dac6287490ef450bc892593f05d364531
tree657da3268f7b7c29fe9eeecb1325adcce0c22d7a
parent593cf33829adfd3d5c75d42879cc42afded1b626
net/mlx5e: Use only close NUMA node for default RSS

Distribute default RSS table uniformly over the rings of the
close NUMA node, instead of all available channels.
This way we enforce the preference of close rings over far ones.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c