summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en.h
diff options
context:
space:
mode:
authorTariq Toukan2017-06-07 12:55:34 +0200
committerSaeed Mahameed2017-09-03 05:34:09 +0200
commitd4b6c48800dda97f5a0824305d7c8175a127d414 (patch)
tree29260122a1930ce53bb111bc67015d0973457d06 /drivers/net/ethernet/mellanox/mlx5/core/en.h
parentnet/mlx5e: Stop NAPI when irq balancer changes affinity (diff)
downloadkernel-qcow2-linux-d4b6c48800dda97f5a0824305d7c8175a127d414.tar.gz
kernel-qcow2-linux-d4b6c48800dda97f5a0824305d7c8175a127d414.tar.xz
kernel-qcow2-linux-d4b6c48800dda97f5a0824305d7c8175a127d414.zip
net/mlx5e: Distribute RSS table among all RX rings
In default, uniformly distribute the RSS indirection table entries among all RX rings, rather than restricting this only to the rings on the close NUMA node. irqbalancer would anyway dynamically override the default affinities set to the RX rings. This gives better multi-stream performance and CPU util. Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/en.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h
index 1388a1e2f835..8b7d83bcc11a 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h
@@ -925,8 +925,7 @@ void mlx5e_switch_priv_channels(struct mlx5e_priv *priv,
void mlx5e_activate_priv_channels(struct mlx5e_priv *priv);
void mlx5e_deactivate_priv_channels(struct mlx5e_priv *priv);
-void mlx5e_build_default_indir_rqt(struct mlx5_core_dev *mdev,
- u32 *indirection_rqt, int len,
+void mlx5e_build_default_indir_rqt(u32 *indirection_rqt, int len,
int num_channels);
int mlx5e_get_max_linkspeed(struct mlx5_core_dev *mdev, u32 *speed);