diff options
author | Michael Hernandez <[email protected]> | 2017-05-18 10:47:47 -0700 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2017-05-22 15:06:05 -0500 |
commit | 6f9a22bc5775d231ab8fbe2c2f3c88e45e3e7c28 (patch) | |
tree | 1c783fb19be43cd07b3a1f7a32af66e64dba2958 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) |
PCI/MSI: Ignore affinity if pre/post vector count is more than min_vecs
min_vecs is the minimum amount of vectors needed to operate in MSI-X mode
which may just include the vectors that don't need affinity.
Disabling affinity settings causes the qla2xxx driver scsi_add_host() to fail
when blk_mq is enabled as the blk_mq_pci_map_queues() expects affinity masks
on each vector.
Fixes: dfef358bd1be ("PCI/MSI: Don't apply affinity if there aren't enough vectors left")
Signed-off-by: Michael Hernandez <[email protected]>
Signed-off-by: Himanshu Madhani <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: [email protected] # v4.10+
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions