summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_expander.c
diff options
context:
space:
mode:
authorChandrakanth Patil <chandrakanth.patil@broadcom.com>2019-06-25 16:34:33 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2019-06-27 00:07:36 -0400
commitf0b9e7bdc309e8cc63a640009715626376e047c6 (patch)
tree78a21c73e70ac4f60b606d13469721aa844e305b /drivers/scsi/libsas/sas_expander.c
parentea836f40f8fdb47c7dda2e4aaaa28ae676c3fa41 (diff)
downloadblackbird-op-linux-f0b9e7bdc309e8cc63a640009715626376e047c6.tar.gz
blackbird-op-linux-f0b9e7bdc309e8cc63a640009715626376e047c6.zip
scsi: megaraid_sas: Set affinity for high IOPS reply queues
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 high IOPS queues (through pci_alloc_irq_vectors_affinity and .pre_vectors interface). The rest of queues are for low latency. Based on IO workload, 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 adapters. Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com> Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_expander.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud