mlx4_en: use MLX4_LEAST_ATTACHED_VECTOR for TX cqs
Subsystems (2)
PATCH 3/3 mlx4_en: use MLX4_LEAST_ATTACHED_VECTOR for TX cqs
Instead always setting all the TX cqs to use comletion vector 0, let the mlx4_core to distribute them to avoid situation where some eqs are very loaded while other do nothing.
--- drivers/net/mlx4/en_cq.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/mlx4/en_cq.c +1 -1
@@ -56,7 +56,7 @@ int mlx4_en_create_cq(struct mlx4_en_priv *priv, cq->vector = ring % mdev->dev->caps.num_comp_vectors; }else { cq->buf_size =sizeof (struct mlx4_cqe ); - cq->vector =0 ; + cq->vector =MLX4_LEAST_ATTACHED_VECTOR ; } cq->ring = ring;
Signature · 6 lines
1.6.1.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html