Invalid hashed address detection (testc.23.1) – Teledyne LeCroy SAS Sample Test Suite User Manual

Page 52

Advertising
background image

SAS Sample Test Suite

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

52

Invalid Hashed Address detection (TestC.23.1)
SSP ERROR HANDLING – Invalid Hashed Address error detection (TestC.23.1)

An invalid Source or Destination hashed address error condition could be detected. SAS

version 2.0 specifies this as a “may check” optional feature. With expanders in larger and

larger SAS networks, these fields will become more relative as the possibility of frame mis-

routing increases.

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

WRITE command for 512 bytes (1 frame). Then, close the connection

3. Allow the DUT to open an SSP connection to the Testing Station and transmit XFER_RDY.
4. The Test Station is instructed to open an SSP connection to the DUT and transmit a DATA

frame with an invalid Source Hashed Address. Then, close the connection.

Observable Results: Verify that the DUT discards the frame. The DUT may wait for the correct data

and possibly timeout and ABORT the connection. OR, may send a vendor-specific confirmation to

the SCSI application layer to cause the command using that initiator port transfer tag to be aborted

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

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

WRITE command for 512 bytes (1 frame). Then, close the connection

8. Allow the DUT to open an SSP connection to the Testing Station and transmit XFER_RDY.
9. The Test Station is instructed to open an SSP connection to the DUT and transmit a DATA

frame with an invalid Destination Hashed Address. Then, close the connection.

Observable Results: Verify that the DUT discards the frame. The DUT may wait for the correct data

and possibly timeout and ABORT the connection. OR, may send a vendor-specific confirmation to

the SCSI application layer to cause the command using that initiator port transfer tag to be aborted

Advertising