aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2019-05-21 17:49:06 -0700
committerMartin K. Petersen <[email protected]>2019-06-18 19:46:22 -0400
commit657add4e5e15b4872e6a6c2dfca43bff1b0197b4 (patch)
tree7a6844734ed3bcc028aa6ad28a568eb123b7de61 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parentd9954a2d18c3405bbbe3f15390a9747f66df9f9a (diff)
scsi: lpfc: Fix poor use of hardware queues if fewer irq vectors
While fixing the resources per socket, realized the driver was not using hardware queues (up to 1 per cpu) if there were fewer interrupt vectors. The driver was only using the hardware queue assigned to the cpu with the vector. Rework the affinity map check to use the additional hardware queue elements that had been allocated. If the cpu count exceeds the hardware queue count - share, but choose what is shared with by: hyperthread peer, core peer, socket peer, or finally similar cpu in a different socket. Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions