Abort task (testf.1) – Teledyne LeCroy SAS Sample Test Suite User Manual

Page 82

Advertising
background image

SAS Sample Test Suite

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

82

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

ABORT TASK (TestF.1)
When ABORT TASK is received the Target device shall write any cached data to the media. The

Target device will scan its Task Set for a command with this I_T_L_Q nexus. If such a command is

present, it shall be aborted and no further frames associated with the command shall be sent by

the Target device.

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. This response code is used to indicate either that the

identified command was aborted or that a command with that tag was not found in the task set.

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 ABORT_TASK. When ACK is completed, close the
connection.

5. 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