Teledyne LeCroy SAS Sample Test Suite User Manual

Page 43

Advertising
background image

SAS Sample Test Suite

Error Conditions – Frames Received from Initiator (Test Group C)

43

Invalid frames for SSP_FRAMES (TestC.9.1 – TestC.9.8)

An invalid frame is one that has a valid SAS frame type but which has an error in length, content, or

occurrence.

Examples include:

- A frame shorter than the minimum defined length for that frame type (Test 9.1.17)

- A Command or Task frame that has the Target Port Transfer Tag set to a value other than FFFFh

(Test 9.1.18)

- A Response frame delivered to a Target (Test 9.1.19)

When a Target receives an invalid frame, it shall reply with a Response frame with DATAPRES field

set to RESPONSE_DATA and the RESPONSE CODE field set to INVALID FRAME.
SSP_FRAMES - Invalid Additional CDB Length value field (TestC.9.3)

Test Procedure:

1.

The Testing Station is instructed to start and complete a phy Reset sequence
followed by an Identify sequence with the DUT. Since the DUT is a target, the
Testing Station is instructed to transmit an Identify Address frame indicating that it
is a SAS Initiator.

2.

The Testing Station is instructed to open an SSP connection to the DUT and transmit
a normal SCSI INQUIRY command. And wait for DUT to respond with good status.

3.

The Testing Station is instructed to open an SSP connection to the DUT and transmit
a SCSI INQUIRY command with an invalid setting of 3Fh for the Additional CDB
Length field. Close the connection

4.

Allow the DUT to open an SSP connection and transmit a SCSI response frame to
the received command and data.

Observable Results: Verify if the DUT sets the DATAPRES field to RESPONSE_DATA and the

RESPONSE CODE field to INVALD FRAME.


SSP_FRAMES – Missing CDB in SCSI Command (TestC.9.4)

Test Procedure:

1.

The Testing Station is instructed to start and complete a phy Reset sequence
followed by an Identify sequence with the DUT. Since the DUT is a target, the
Testing Station is instructed to transmit an Identify Address frame indicating that it
is a SAS Initiator.

2.

The Testing Station is instructed to open an SSP connection to the DUT and transmit
a normal SCSI INQUIRY command. And wait for DUT to respond with good status.

3.

The Testing Station is instructed to open an SSP connection to the DUT and transmit
a SCSI command with a missing CDB portion of the frame. Close the connection.

Advertising