20 sendssptransport(), Sspt, Ransport – Teledyne LeCroy SAS_SATA Protocol Suite Verification Script Engine Reference Manual User Manual

Page 44

Advertising
background image


44

9.20 SendSSPTransport()

This function specifies to send a selected SSP Transport event to the script.


Format :

SendSSPTransport( Frame Type);

SendSSPTransport( Frame Type, Field Name, Field Value, Nexus Info);



Parameters

Frame Type

Frame type of the SSP Transport event:

_ANY

SSP_FRAME_TYPE_COMMAND
SSP_FRAME_TYPE_XFER_RDY
SSP_FRAME_TYPE_RESPONSE
SSP_FRAME_TYPE_TASK
SSP_FRAME_TYPE_DATA
SSP_FRAME_TYPE_VENDOR

Field Name

String form of any particular field name of the frame.

For example: “Tag” / “HashedDestSASAddr”
(Field names should be WITHOUT SPACES.
NO need to Prefix or Suffix the field name with any of event or
level-specific keywords, such as Trp_, Lnk_, or App_.)


Field Value

Value of the chosen field of the frame.

Provide valid acceptable values according to the field type.

For example:
For string values, provide value surrounded by double-quotation marks.
For Raw Data, surround the value using single-quotation marks.
For Decimal or Hex-Decimal, provide the value as it is.


Nexus Info

Information about source and destination SAS address and Tag/Port.
according to the command types
Structure is:
[Source SAS Address, Destination SAS Address, Tag/ Port]
All fields are optional subject to usage of succeeding fields.

For example:
To set a value for destination address alone, set source
address value to _ANY.
To set only Tag/Port value, set preceding fields (Source SAS Address
and Destination SAS Address) to _ANY.

Tag / Port

Use Tag value only for SCSI Commands/SSP Frames

Use Port value only for ATA Commands/STP Frames


Valid structures for Nexus Info are:
NexusInfo = ['5000C500001047B5'];
NexusInfo = ['5000C500001047B5', '5000E85000000001’];
NexusInfo = [_ANY, '5000E85000000001’];

NexusInfo = ['5000C500001047B5','5000E85000000001’,10];

NexusInfo = [_ANY, '5000E85000000001’, 10];
NexusInfo = ['5000C500001047B5', _ANY, 10];
NexusInfo = [_ANY, _ANY, 10];


Advertising