Logical unit reset (testf.6) – Teledyne LeCroy SAS Sample Test Suite User Manual

Page 92

Advertising
background image

SAS Sample Test Suite

Behavior After Receiving a Task Management Request (Test Group F)

92

LOGICAL UNIT RESET (TestF.6)
When LOGICAL UNIT RESET is received, the Target device shall

- abort all commands that have been received on the affected I_T nexus

- terminate all task management functions received on the affected I_T nexus

- establish a Unit Attention condition

The Target device shall complete the task management request by sending a Response frame with

DATAPRES field set to RESPONSE_DATA and the RESPONSE CODE field set to 00h, TASK

MANAGEMENT FUNCTION COMPLETE.

When the Unit Attention condition resulting from this task management function is presented to

an initiator, the ASC/ASCQ in that response frame shall be BUS DEVICE RESET FUNCTION

OCCURRED.

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

SCSI Test Unit Ready command to the DUT. This should not be the first command
received by the DUT since power on. Close the connection

3. Allow the DUT to open an SSP connection to the Testing Station and transmit a SCSI

response frame to the received command.

4. The Testing Station is instructed to open an SSP connection to the DUT and transmit a

TASK MANAGEMENT frame LOGICAL_U

5. NIT_RESET. When ACK is completed, close the connection.
6. The Testing Station will allow the DUT to open an SSP connection.

Observable Results: Verify that the DUT transmits a response frame with DATAPRES field set to

RESPONSE_DATA and the RESPONSE CODE field set to 00h, TASK MANAGEMENT FUNCTION

COMPLETE.

6. Repeat 1-5 using an invalid LUN (0xFFFFFFFF FFFFFFFF) address

Observable Results: Verify that the DUT transmits a response frame with DATAPRES field set to

RESPONSE_DATA and the RESPONSE CODE field set to INVALID LUN

Advertising