scsi: lpfc: Fix NMI watchdog assertions when running nvmet IOPS tests
authorJames Smart <jsmart2021@gmail.com>
Mon, 15 May 2017 22:20:43 +0000 (15:20 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 17 May 2017 01:20:41 +0000 (21:20 -0400)
commit7869da183a7cfc8a2189f6eddd3bc558be40d5e3
treee80a029b8b4ba0814a245f915729770e95e6e640
parent3120046a970aee08a0787fb6792590f1e0047f62
scsi: lpfc: Fix NMI watchdog assertions when running nvmet IOPS tests

After running IOPS test for 30 second we get kernel:NMI watchdog:
Watchdog detected hard LOCKUP on cpu 0

The driver is speend too much time in its ISR.

In ISR EQ and CQ processing routines, if we hit the entry_repost numbers
of EQE/CQEs just break out of the routine as opposed to hitting the
doorbell with NOARM and continue processing.

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>
drivers/scsi/lpfc/lpfc_debugfs.c
drivers/scsi/lpfc/lpfc_sli.c