diff options
author | James Smart | 2017-03-04 18:30:34 +0100 |
---|---|---|
committer | Martin K. Petersen | 2017-03-07 05:04:22 +0100 |
commit | 43140ca68d1a071ddbe92f10a3256e01701ae390 (patch) | |
tree | 1f5f8d7dfc270abef7070803be0e0f88f3b4aa29 /drivers/scsi/lpfc/lpfc_init.c | |
parent | scsi: lpfc: Rework lpfc Kconfig for NVME options (diff) | |
download | kernel-qcow2-linux-43140ca68d1a071ddbe92f10a3256e01701ae390.tar.gz kernel-qcow2-linux-43140ca68d1a071ddbe92f10a3256e01701ae390.tar.xz kernel-qcow2-linux-43140ca68d1a071ddbe92f10a3256e01701ae390.zip |
scsi: lpfc: Rename LPFC_MAX_EQ_DELAY to LPFC_MAX_EQ_DELAY_EQID_CNT
Without apriori understanding of what the define is, the name gives
a very different impression of what it is (a max delay value
for an EQ). Rename the define so it reflects what it is: the number
of EQ IDs that can be set in one instance of the MODIFY_EQ_DELAY
mbx command.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 4fa21a9fd883..c883110178ea 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c @@ -8756,12 +8756,9 @@ lpfc_sli4_queue_setup(struct lpfc_hba *phba) } } - /* - * Configure EQ delay multipier for interrupt coalescing using - * MODIFY_EQ_DELAY for all EQs created, LPFC_MAX_EQ_DELAY at a time. - */ - for (qidx = 0; qidx < io_channel; qidx += LPFC_MAX_EQ_DELAY) + for (qidx = 0; qidx < io_channel; qidx += LPFC_MAX_EQ_DELAY_EQID_CNT) lpfc_modify_hba_eq_delay(phba, qidx); + return 0; out_destroy: |