diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2016-04-20 19:02:11 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-21 19:09:04 (GMT) |
commit | d8c9660dac6287490ef450bc892593f05d364531 (patch) | |
tree | 657da3268f7b7c29fe9eeecb1325adcce0c22d7a /drivers/net/ethernet/mellanox/mlx5/core/en.h | |
parent | 593cf33829adfd3d5c75d42879cc42afded1b626 (diff) | |
download | linux-d8c9660dac6287490ef450bc892593f05d364531.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h index c4ddbe8..7f19644 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h @@ -671,7 +671,8 @@ void mlx5e_build_tir_ctx_hash(void *tirc, struct mlx5e_priv *priv); int mlx5e_open_locked(struct net_device *netdev); int mlx5e_close_locked(struct net_device *netdev); -void mlx5e_build_default_indir_rqt(u32 *indirection_rqt, int len, +void mlx5e_build_default_indir_rqt(struct mlx5_core_dev *mdev, + u32 *indirection_rqt, int len, int num_channels); static inline void mlx5e_tx_notify_hw(struct mlx5e_sq *sq, |