[SCSI] bnx2i: Updated the connection shutdown/cleanup timeout
Modified the 10s wait time for inflight offload connections to advance to the next state to 2s based on test result. Modified the 20s shutdown timeout to 30s based on test result. Signed-off-by: Eddie Wai <eddie.wai@broadcom.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Cc: stable@kernel.org Signed-off-by: James Bottomley <jbottomley@parallels.com>
This commit is contained in:
committed by
James Bottomley
parent
7287c63e98
commit
d5307a078b
@@ -858,7 +858,7 @@ struct bnx2i_hba *bnx2i_alloc_hba(struct cnic_dev *cnic)
|
||||
mutex_init(&hba->net_dev_lock);
|
||||
init_waitqueue_head(&hba->eh_wait);
|
||||
if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type)) {
|
||||
hba->hba_shutdown_tmo = 20 * HZ;
|
||||
hba->hba_shutdown_tmo = 30 * HZ;
|
||||
hba->conn_teardown_tmo = 20 * HZ;
|
||||
hba->conn_ctx_destroy_tmo = 6 * HZ;
|
||||
} else { /* 5706/5708/5709 */
|
||||
|
||||
Reference in New Issue
Block a user