]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Specify node affinity for queue memory allocation
authorJames Smart <jsmart2021@gmail.com>
Tue, 12 Mar 2019 23:30:29 +0000 (16:30 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Mar 2019 17:15:09 +0000 (13:15 -0400)
commitbd0883e5d4a71522e904c1871f2e1dce0358c74d
treece2c51848e0773f93ab2ca63617562ea40f80677
parentf030e6080f0860f093bcaef8bbd14b911b7137d9
scsi: lpfc: Specify node affinity for queue memory allocation

Change the SLI4 queue creation code to use NUMA node based memory
allocation based on the cpu the queues will be related to.

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>
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli.c
drivers/scsi/lpfc/lpfc_sli4.h