diff options
author | Suganath Prabu S <suganath-prabu.subramani@broadcom.com> | 2019-05-31 14:14:40 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-19 01:46:26 +0200 |
commit | 728bbc6cbff70051813730fb7977f5d99d867e12 (patch) | |
tree | fe582b9324570b921029611e8a3668937a21431f /drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | |
parent | scsi: mpt3sas: save and use MSI-X index for posting RD (diff) | |
download | linux-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