diff options
author | 2018-01-04 04:35:51 +0200 | |
---|---|---|
committer | 2018-01-12 02:01:40 +0200 | |
commit | 05e0cc84e00c54fb152d1f4b86bc211823a83d0c (patch) | |
tree | 6a715622e4a794be1721942b9dff84942d5bd186 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | {net,ib}/mlx5: Don't disable local loopback multicast traffic when needed (diff) | |
download | linux-dev-05e0cc84e00c54fb152d1f4b86bc211823a83d0c.tar.xz linux-dev-05e0cc84e00c54fb152d1f4b86bc211823a83d0c.zip |
net/mlx5: Fix get vector affinity helper function
mlx5_get_vector_affinity used to call pci_irq_get_affinity and after
reverting the patch that sets the device affinity via PCI_IRQ_AFFINITY
API, calling pci_irq_get_affinity becomes useless and it breaks RDMA
mlx5 users. To fix this, this patch provides an alternative way to
retrieve IRQ vector affinity using legacy IRQ API, following
smp_affinity read procfs implementation.
Fixes: 231243c82793 ("Revert mlx5: move affinity hints assignments to generic code")
Fixes: a435393acafb ("mlx5: move affinity hints assignments to generic code")
Cc: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions