aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2019-01-28 11:14:30 -0800
committerMartin K. Petersen <[email protected]>2019-02-05 22:29:09 -0500
commitb3295c2a75333a4d6f0f945c7c148b1c0a453a8f (patch)
treef5657a06f431de71f9a8320b1f756615a13081a3 /tools/perf/scripts/python
parent45aa312e211f1c8c44a8e90c184a21bbb5b5572c (diff)
scsi: lpfc: Fix setting affinity hints to correlate with hardware queues
The desired affinity for the hardware queue behavior is for hdwq 0 to be affinitized with cpu 0, hdwq 1 to cpu 1, and so on. The implementation so far does not do this if the number of cpus is greater than the number of hardware queues (e.g. hardware queue allocation was administratively reduced or hardware queue resources could not scale to the cpu count). Correct the queue affinitization logic when queue count is less than cpu count. Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: James Smart <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions