snic: Fix for missing interrupts
authorNarsimhulu Musini <nmusini@cisco.com>
Thu, 17 Mar 2016 07:51:14 +0000 (00:51 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 11 Apr 2016 20:57:09 +0000 (16:57 -0400)
commitc9747821f9bbff6c07fa36087b003d89d05245c8
treee471ac763c1793a5fd14e80617fdfe4dad91f695
parent58fcf92050cdf7b499ba6169459ec43aa0838662
snic: Fix for missing interrupts

- On posting an IO to the firmware, adapter generates an interrupt.
  Due to hardware issues, sometimes the adapter fails to generate
  the interrupt. This behavior skips updating transmit queue-
  counters, which in turn causes the queue full condition. The fix
  addresses the queue full condition.

- The fix also reserves a slot in transmit queue for hba reset.
  when queue full is observed during IO, there will always be room
  to post hba reset command.

Signed-off-by: Narsimhulu Musini <nmusini@cisco.com>
Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/snic/snic_fwint.h
drivers/scsi/snic/snic_io.c