Re: [PATCH RESEND] mlx4: Fix tx ring affinity_mask creation

2015-04-29 Thread David Miller
From: Benjamin Poirier Date: Tue, 28 Apr 2015 14:49:29 -0700 > By default, the number of tx queues is limited by the number of online cpus > in mlx4_en_get_profile(). However, this limit no longer holds after the > ethtool .set_channels method has been called. In that situation, the driver > may

[PATCH RESEND] mlx4: Fix tx ring affinity_mask creation

2015-04-28 Thread Benjamin Poirier
By default, the number of tx queues is limited by the number of online cpus in mlx4_en_get_profile(). However, this limit no longer holds after the ethtool .set_channels method has been called. In that situation, the driver may access invalid bits of certain cpumask variables when queue_index >= nr