OSDN Git Service

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)
commitc1a21ebc0fa63dcdebd47b410170ea20eda41e1f
treece2c51848e0773f93ab2ca63617562ea40f80677
parent9afbee3d62a40532441d0de36ef3eaa38661a7bf
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