[SCSI] bnx2fc: Fix FW assert during RSCN stress tests

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>
This commit is contained in:
Bhanu Prakash Gollapudi 2011-08-30 15:54:53 -07:00 коммит произвёл James Bottomley
Родитель 013068fa6f
Коммит a96e8e1163
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -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: