mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
net/mlx5: Fix irq affinity management
The cited patch deny the user of changing the affinity of mlx5 irqs,
which break backward compatibility.
Hence, allow the user to change the affinity of mlx5 irqs.
Fixes: bbac70c741
("net/mlx5: Use newer affinity descriptor")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Eli Cohen <elic@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
parent
9c2d080109
commit
ef8c063cf8
1 changed files with 1 additions and 1 deletions
|
@ -567,7 +567,7 @@ int mlx5_irqs_request_vectors(struct mlx5_core_dev *dev, u16 *cpus, int nirqs,
|
||||||
struct mlx5_irq *irq;
|
struct mlx5_irq *irq;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
af_desc.is_managed = 1;
|
af_desc.is_managed = false;
|
||||||
for (i = 0; i < nirqs; i++) {
|
for (i = 0; i < nirqs; i++) {
|
||||||
cpumask_set_cpu(cpus[i], &af_desc.mask);
|
cpumask_set_cpu(cpus[i], &af_desc.mask);
|
||||||
irq = mlx5_irq_request(dev, i + 1, &af_desc, rmap);
|
irq = mlx5_irq_request(dev, i + 1, &af_desc, rmap);
|
||||||
|
|
Loading…
Reference in a new issue