Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Fibre Channel Protocol for SCSI, Fourth Version (FCP-4). Revision 00a. October 30, 2006..pdf
Скачиваний:
56
Добавлен:
02.05.2014
Размер:
874.59 Кб
Скачать

10/30/06

INCITS T10, Project 1828-D, Revision 00a

 

 

PRLI ACCEPT RESPONSE CODE: The PRLI ACCEPT RESPONSE CODE field is defined in FC-LS. The values of the PRLI ACCEPT RESPONSE CODE field indicate whether the image pair was successfully created. If the image pair was not created, the value of the PRLI ACCEPT RESPONSE CODE indicates why the request failed or was rejected.

Word 3, Bit 10: REC_SUPPORT: When the REC ELS supported (REC_SUPPORT) bit is set to one, the Responder is indicating that it supports, as a target FCP_Port, the receipt of the REC ELS. The capability of the target FCP_Port to retransmit unsuccessfully transmitted data is determined by the RETRY bit (i.e., a REC_SUPPORT bit set to one does not indicate the target FCP_Port supports retransmission of data). When the REC_SUPPORT bit is set to zero, the Responder is indicating that it may not support receipt of the REC ELS.

6.4PRLO

The format for the PRLO request and PRLO accept is specified in FC-LS.

The PRLO request is transmitted from an Originator FCP_Port to a Responder FCP_Port to indicate to the Responder that the image pair specified in the FCP Service Parameter pages of the PRLO is being discontinued by the Originator. If the PRLO logs out the image pair between an initiator FCP_Port and a target FCP_Port, then all clearing actions specified in 4.10 shall be performed and an I_T nexus loss notification shall be delivered (see 4.11).

For the Fibre Channel Protocol, the PRLO FCP Service Parameter page identifies an image pair where neither the Originator or Responder supports Process_Associators by marking the Originator Process_Associator and Responder Process_Associator as invalid.

The PRLO accept is returned to the Originator FCP_Port to indicate that the Responder FCP_Port recognizes that the image pair is being discontinued. The accept shall present a response FCP Service Parameter page for the request FCP Service Parameter page. It is not an error to perform Process Logout for an image pair that does not exist.

A Link Service Reject (LS_RJT) indicates that the PRLO request is invalid and not accepted.

After Process Logout, no further Fibre Channel Protocol communication is possible between those N_Ports or NL_Ports.

The PRLO accept response codes are defined in FC-LS.

6.5Read Exchange Concise (REC)

See FC-LS for a description of the REC ELS. FCP-4 specific usage of REC is as follows:

a)if task retry identification is active for the Originator and the Responder, the PARAMETER field of the request Sequence shall contain the task retry identifier for the task specified by the OX_ID field value and RX_ID field value;

b)if the destination FCP_Port of the REC request determines that the ORIGINATOR S_ID, OX_ID, or RX_ID

fields, or task retry identifier are inconsistent, then it shall respond with an LS_RJT Sequence with a reason code of “Logical error” and a reason code explanation of “Invalid OX_ID-RX_ID combination”;

c)the REC shall be sent in a new Exchange. The Exchange shall be ended by the response to the REC;

d)if the RX_ID field value in the REC request payload was FFFFh, the RX_ID field value in the REC accept payload may be set to the value selected by the Responder when the first frame of the Exchange was received; and

e)the FC4VALUE field is the number of bytes successfully received by the Device Server for a write or the number of bytes transmitted by the target FCP_Port for a read.

Working Draft, FCP-4

30