From 965a0f7a75ef0011062413a6fa62ab6404e0b1ea Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 10 Aug 2009 02:20:21 +0100 Subject: [infiniband] Allow SRP reconnection attempts even after reporting failures With iSCSI, connection attempts are expensive; it may take many seconds to determine that a connection will fail. SRP connection attempts are much less expensive, so we may as well avoid the "optimisation" of declaring a state of permanent failure after a certain number of attempts. This allows a gPXE SRP initiator to resume operations after an arbitrary amount of SRP target downtime. --- src/include/gpxe/srp.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/include') diff --git a/src/include/gpxe/srp.h b/src/include/gpxe/srp.h index 75ec7b837..85f39b933 100644 --- a/src/include/gpxe/srp.h +++ b/src/include/gpxe/srp.h @@ -828,12 +828,6 @@ struct srp_device { unsigned int state; /** Retry counter */ unsigned int retry_count; - /** Instant return status code - * - * Used to avoid retrying the connection on every new SCSI - * command after the retry count has been exceeded. - */ - int instant_rc; /** Current SCSI command */ struct scsi_command *command; -- cgit v1.2.3-55-g7522