diff options
author | James Smart <jsmart2021@gmail.com> | 2019-05-21 17:49:06 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-18 19:46:22 -0400 |
commit | 657add4e5e15b4872e6a6c2dfca43bff1b0197b4 (patch) | |
tree | 7a6844734ed3bcc028aa6ad28a568eb123b7de61 /fs/ocfs2/filecheck.h | |
parent | d9954a2d18c3405bbbe3f15390a9747f66df9f9a (diff) | |
download | blackbird-op-linux-657add4e5e15b4872e6a6c2dfca43bff1b0197b4.tar.gz blackbird-op-linux-657add4e5e15b4872e6a6c2dfca43bff1b0197b4.zip |
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 <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/ocfs2/filecheck.h')
0 files changed, 0 insertions, 0 deletions