Skip to content

Commit

Permalink
[SCSI] bnx2fc: Fix FW assert during RSCN stress tests
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bhanu Prakash Gollapudi authored and James Bottomley committed Sep 17, 2011
1 parent 013068f commit a96e8e1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/scsi/bnx2fc/bnx2fc_tgt.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ static void bnx2fc_offload_session(struct fcoe_port *port,
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:
Expand Down

0 comments on commit a96e8e1

Please sign in to comment.