Re: [PATCH 16/25] lpfc: Support non-uniform allocation of MSIX vectors to hardware queues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/27/18 12:33 AM, James Smart wrote:
So far msix vectors allocation assumed it would be 1:1 with
hardware queues. However, there are several reasons why fewer
MSIX vectors may be allocated than hardware queues such as the
platform being out of vectors or adapter limits being less than
cpu count.

This patch reworks the MSIX/EQ relationships with the per-cpu
hardware queues so they can function independently. MSIX vectors
will be equitably split been cpu sockets/cores and then the
per-cpu hardware queues will be mapped to the vectors most
efficient for them.

Signed-off-by: Dick Kennedy <dick.kennedy@xxxxxxxxxxxx>
Signed-off-by: James Smart <jsmart2021@xxxxxxxxx>
---
  drivers/scsi/lpfc/lpfc.h         |   7 +-
  drivers/scsi/lpfc/lpfc_attr.c    |  96 ++++----
  drivers/scsi/lpfc/lpfc_crtn.h    |   1 -
  drivers/scsi/lpfc/lpfc_debugfs.c | 303 ++++++++++++++++-------
  drivers/scsi/lpfc/lpfc_debugfs.h |   3 -
  drivers/scsi/lpfc/lpfc_hw4.h     |   3 +-
  drivers/scsi/lpfc/lpfc_init.c    | 507 ++++++++++++++++++++++++++++++++-------
  drivers/scsi/lpfc/lpfc_nvme.c    |  18 +-
  drivers/scsi/lpfc/lpfc_scsi.c    |  32 ++-
  drivers/scsi/lpfc/lpfc_sli.c     | 148 +++++-------
  drivers/scsi/lpfc/lpfc_sli4.h    |  64 ++++-
  11 files changed, 838 insertions(+), 344 deletions(-)
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux