SPI L_Q error handling question

Richard Moore richard.moore at qlogic.com
Fri Apr 27 15:41:03 PDT 2001


* From the T10 Reflector (t10 at t10.org), posted by:
* Richard Moore <richard.moore at qlogic.com>
*
George,

If there are no objections, we would like the first part of this proposal
reworded to allow the target to send the status IU for the erroneous command
on a later physical connection.

 -- Richard Moore
    QLogic Corp.

-----Original Message-----
From: George_Penokie at tivoli.com [mailto:George_Penokie at tivoli.com]
Sent: Friday, April 20, 2001 11:25 AM
To: t10 at t10.org
Subject: SPI L_Q error handling question


* From the T10 Reflector (t10 at t10.org), posted by:
* George_Penokie at tivoli.com
*
There are some error conditions that can occur in the SPI L_Q information
unit that SPI-4 does not tell how to handle. They are:

1) If, when the initiator sends a L_Q IU, it sets the data length field to
a value outside the legal 14h-90h range  what is the target supposed to do.
2) If, when the initiator sends a L_Q IU or the target sends a L_Q IU with
a type of status and the BIDI Direction field is not set to zero what
should the receiving device do?

For problem 1 I propose it be handled the same way as if the device
received an illegal type code by adding the following wording section
10.8.3.3.4

'If a target receives a SPI L_Q information unit with an illegal data
length (see table 45)  target shall transfer all the bytes indicated by the
data length and iuCRC interval and shall discard the transmitted
information. After transferring all the bytes the target shall change to a
DT DATA IN phase and transmit a
SPI status information unit with a RSPVALID bit of one and the packetized
failure code set to ILLEGAL REQUEST RECEIVED IN SPI L_Q INFORMATION UNIT.'

For problem 2 I propose that the BIDI Direction field be ignored except for
the data and data stream type codes.  The following wording should be added
into table 45 for the last command, multiple command, and status type code
descriptions:

'The BIDI DIRECTION field shall be set to zero and ignored by the
initiator.'

Any comments????


Bye for now,
George Penokie

Dept 2C6  114-2 N212
E-Mail:    gpenokie at tivoli.com
Internal:  553-5208
External: 507-253-5208   FAX: 507-253-2880

*
* For T10 Reflector information, send a message with
* 'info t10' (no quotes) in the message body to majordomo at t10.org
*
* For T10 Reflector information, send a message with
* 'info t10' (no quotes) in the message body to majordomo at t10.org




More information about the T10 mailing list