[SCSI] lpfc 8.3.33: Allow per-hba interrupt rate tuning
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:

committed by
James Bottomley

parent
67d1273385
commit
bf8dae83fe
@@ -12079,7 +12079,8 @@ lpfc_modify_fcp_eq_delay(struct lpfc_hba *phba, uint16_t startq)
|
||||
eq_delay = &mbox->u.mqe.un.eq_delay;
|
||||
|
||||
/* Calculate delay multiper from maximum interrupt per second */
|
||||
dmult = LPFC_DMULT_CONST/phba->cfg_fcp_imax - 1;
|
||||
dmult = phba->cfg_fcp_imax / phba->cfg_fcp_io_channel;
|
||||
dmult = LPFC_DMULT_CONST/dmult - 1;
|
||||
|
||||
cnt = 0;
|
||||
for (fcp_eqidx = startq; fcp_eqidx < phba->cfg_fcp_io_channel;
|
||||
|
Reference in New Issue
Block a user