Skip to content

Commit 9c754d0

Browse files
shayshyikuba-moo
authored andcommitted
net/mlx5: Allow users to configure affinity for SFs
SFs didn't allow to configure IRQ affinity for its vectors. Allow users to configure the affinity of the SFs irqs. Signed-off-by: Shay Drory <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Reviewed-by: Kalesh AP <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 48bb52b commit 9c754d0

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/eq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ static int comp_irq_request_sf(struct mlx5_core_dev *dev, u16 vecidx)
896896
if (!mlx5_irq_pool_is_sf_pool(pool))
897897
return comp_irq_request_pci(dev, vecidx);
898898

899-
af_desc.is_managed = 1;
899+
af_desc.is_managed = false;
900900
cpumask_copy(&af_desc.mask, cpu_online_mask);
901901
cpumask_andnot(&af_desc.mask, &af_desc.mask, &table->used_cpus);
902902
irq = mlx5_irq_affinity_request(dev, pool, &af_desc);

0 commit comments

Comments
 (0)