]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
bnx2fc: Fix FW assert during RSCN stress tests
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Tue, 30 Aug 2011 22:54:53 +0000 (15:54 -0700)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 01:36:50 +0000 (09:36 +0800)
Firmware asserts when the same CQE is armed twice. This scenario happens during
RSCN stress tests as driver incorrects arms the CQ after the session is
offloaded.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
(cherry picked from commit a96e8e11635773dd88dbe1307f9482146cfe0562)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_tgt.c

index 2138da9571acc155df8391662d51fc6679bf0325..c1800b5312708a914cf424319dd7376fbb008186 100644 (file)
@@ -133,9 +133,7 @@ retry_ofld:
                printk(KERN_ERR PFX "map doorbell failed - no mem\n");
                /* upload will take care of cleaning up sess resc */
                lport->tt.rport_logoff(rdata);
-       } else
-               /* Arm CQ */
-               bnx2fc_arm_cq(tgt);
+       }
        return;
 
 ofld_err: