summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h
diff options
context:
space:
mode:
authorSuganath Prabu S <suganath-prabu.subramani@broadcom.com>2019-05-31 14:14:40 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2019-06-19 01:46:26 +0200
commit728bbc6cbff70051813730fb7977f5d99d867e12 (patch)
treefe582b9324570b921029611e8a3668937a21431f /drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h
parentscsi: mpt3sas: save and use MSI-X index for posting RD (diff)
downloadlinux-728bbc6cbff70051813730fb7977f5d99d867e12.tar.xz
linux-728bbc6cbff70051813730fb7977f5d99d867e12.zip
scsi: mpt3sas: Affinity high iops queues IRQs to local node
High iops queues are mapped to non-managed irqs. Set affinity of non-managed irqs to local numa node. Low latency queues are mapped to managed irqs. Driver reserves some reply queues for max iops (through pci_alloc_irq_vectors_affinity and .pre_vectors interface). The rest of queues are for low latency. Based on io workload in io submission path, driver will decide which group of reply queues (either high iops queues or low latency queues) to be used. High iops queues will be mapped to local numa node of controller and low latency queues will be mapped to cpus across numa nodes. In general, high iops and low latency queues should fit into 128 reply queues which is the max number of reply queues supported by Aero/Sea. Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h')
0 files changed, 0 insertions, 0 deletions