summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_els.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2017-05-15 15:20:49 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2017-05-16 21:23:42 -0400
commit64eb4dcb140a7c5547f6e965fb471b1b75c01108 (patch)
tree34ae98fe904c159122bfb275fe63145be0e4ceba /drivers/scsi/lpfc/lpfc_els.c
parent667a7662529bf0afb1d84a32ceb0da0a875a3b6c (diff)
downloadlinux-rt-64eb4dcb140a7c5547f6e965fb471b1b75c01108.tar.gz
scsi: lpfc: Cleanup entry_repost settings on SLI4 queues
Too many work items being processed in IRQ context take a lot of CPU time and cause problems. With a recent change, we get out of the ISR after hitting entry_repost work items on a queue. However, the actual values for entry repost are still high. EQ is 128 and CQ is 128, this could translate into processing 128 * 128 (16384) work items under IRQ context. Set entry_repost in the actual queue creation routine now. Limit EQ repost to 8 and CQ repost to 64 to further limit the amount of time spent in the IRQ. Fix fof IRQ routines as well. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_els.c')
0 files changed, 0 insertions, 0 deletions