Skip to content

Commit 6b5aedd

Browse files
shayshyiBrian Maly
authored andcommitted
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: bbac70c ("net/mlx5: Use newer affinity descriptor") Signed-off-by: Shay Drory <[email protected]> Reviewed-by: Eli Cohen <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Orabug: 35383105 (cherry picked from commit ef8c063) cherry-pick-repo=kernel/git/torvalds/linux.git unmodified-from-upstream: ef8c063 Signed-off-by: Mikhael Goikhman <[email protected]> Signed-off-by: Qing Huang <[email protected]> Reviewed-by: Devesh Sharma <[email protected]> Signed-off-by: Brian Maly <[email protected]>
1 parent 685153a commit 6b5aedd

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ int mlx5_irqs_request_vectors(struct mlx5_core_dev *dev, u16 *cpus, int nirqs,
574574
struct mlx5_irq *irq;
575575
int i;
576576

577-
af_desc.is_managed = 1;
577+
af_desc.is_managed = false;
578578
for (i = 0; i < nirqs; i++) {
579579
cpumask_set_cpu(cpus[i], &af_desc.mask);
580580
irq = mlx5_irq_request(dev, i + 1, &af_desc, rmap);

0 commit comments

Comments
 (0)