From owner-freebsd-scsi Wed Sep 1 16:57:34 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id A2C4714D9D for ; Wed, 1 Sep 1999 16:57:27 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id RAA03250; Wed, 1 Sep 1999 17:55:09 -0600 (MDT) (envelope-from ken) Message-Id: <199909012355.RAA03250@panzer.kdm.org> Subject: Re: command delay offset In-Reply-To: <199909012340.BAA07963@gw0.boostworks.com> from Remy Nonnenmacher at "Sep 2, 1999 01:40:49 am" To: remy@synx.com Date: Wed, 1 Sep 1999 17:55:09 -0600 (MDT) Cc: freebsd-scsi@FreeBSD.ORG From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Remy Nonnenmacher wrote... > Sorry to bother you with a so simple question, but.... > > what is the 'command delay offset' (aka offset) role ? What values can > be set via camcontrol negotiate -O ? It allows you to specify the SCSI REQ/ACK offset. The REQ/ACK offset is, along with the period/sync rate, part of synchronous data transfer negotiation. Here's a quote from the SCSI-2 spec: "The REQ/ACK offset specifies the maximum number of REQ pulses that can be sent by the target in advance of the number of ACK pulses received from the initiator, establishing a pacing mechanism. If the number of REQ pulses exceeds the number of ACK pulses by the REQ/ACK offset, the target shall not assert the REQ signal until after the leading edge of the next ACK pulse is received. For successful completion of the data phase is that the number of ACK and REQ pulses shall be equal." In networking terms, it's the window size. Keep in mind that 'camcontrol negotiate' is only supported for a few boards, and some support it better than others. In general, if you set the offset to 0, you will end up disabling synchronous negotiation for that device. If you set the offset to a non-zero value, generally the controller will attempt to negotiate the given offset with the device. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message