Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
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

Annex E

(informative)

FCP-4 examples of link service usage

E.1 Formats for recovery link services

Examples of the formats for recovery ELSs are described in this annex.

E.2 Abort Sequence (ABTS) Request

E.2.1 Abort Sequence (ABTS) Request fields

The initiator FCP_Port or target FCP_Port may transmit an ABTS Frame. When it does so, the specified fields should be set as shown in table E.1.

Table E.1 - ABTS Frame

 

 

 

 

 

 

 

 

Field

Sub-field

Content

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

F_CTL

Sequence

Sequence Initiator (even though the ABTS Originator may

 

 

 

 

Context bit

not have Sequence Initiative for the Sequence being

 

 

 

 

 

aborted).

 

 

 

 

 

 

 

 

 

 

Sequence

Transferred, even if the ABTS Originator did not hold

 

 

 

 

Initiative bit

Sequence Initiative prior to the ABTS.

 

 

 

 

 

 

 

 

 

SEQ_ID

 

If ABTS is sent by the Sequence Initiator and the

 

 

 

 

 

Sequence is still open, the SEQ_ID field value of the open

 

 

 

 

 

Sequence in the Exchange being aborted is used. Other-

 

 

 

 

 

wise, the SEQ_ID field value is any SEQ_ID not currently

 

 

 

 

 

open (for any Exchange) between that pair of FCP_Ports.

 

 

Frame

 

 

 

 

 

SEQ_CNT

 

SEQ_CNT field value of last Frame transmitted in an Open

 

 

Header

 

 

Sequence + 1. If no Sequence is open, then SEQ_CNT =

 

 

 

 

 

zero or SEQ_CNT field value of last Frame transmitted + 1.

 

 

 

 

 

 

 

 

 

OX_ID

 

OX_ID field value = same as that assigned by the

 

 

 

 

 

Exchange Originator (i.e., initiator FCP_Port) for the

 

 

 

 

 

Exchange being aborted.

 

 

 

 

 

 

 

 

 

RX_ID

 

Set to FFFFh or the same as that assigned by the

 

 

 

 

 

Exchange Responder (i.e., target FCP_Port) for the task

 

 

 

 

 

being aborted.

 

 

 

 

 

 

 

 

 

PARAMETER

Bit 0 = 0

Abort Exchange

 

 

 

 

 

 

 

 

 

 

Bit 0 = 1

Abort Sequence

 

 

 

 

 

 

 

 

 

 

 

 

 

Working Draft, FCP-4

124

INCITS T10, Project 1828-D, Revision 00a

10/30/06

E.2.2 Basic Accept (BA_ACC) Frame to ABTS

An initiator FCP_Port or target FCP_Port may accept ABTS with BA_ACC. When it does so, the BA_ACC should be as shown in table E.2.

Table E.2 - BA_ACC Frame to ABTS

 

 

 

 

 

 

 

 

Field

Sub-field

Content

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OX_ID

 

OX_ID field value from ABTS Frame

 

 

 

 

 

 

 

 

Frame

RX_ID

 

RX_ID field value from ABTS Frame

 

 

 

 

 

 

 

F_CTL

Last_Sequence bit

Set to one for Abort Exchange or

 

 

Header

 

 

 

 

 

Set to zero for Abort Sequence

 

 

 

 

Sequence Context bit

Recipient

 

 

 

 

 

 

 

 

 

SEQ_ID VALIDITY

 

Set to 00h for Abort Exchange or

 

 

 

 

 

Set to 80h for Abort Sequence

 

 

 

 

 

 

 

 

 

SEQ_ID

 

Invalid (don’t care) for Abort Exchange or

 

 

 

 

 

Set to SEQ_ID field value of last deliver-

 

 

 

 

 

able Sequence received from ABTS

 

 

 

 

 

Originator for Abort Sequence

 

 

 

 

 

 

 

 

Payload

OX_ID

 

OX_ID field value from ABTS Frame

 

 

 

RX_ID

 

RX_ID field value from ABTS Frame

 

 

 

 

 

 

 

 

 

LOWEST SEQ_CNT

 

Set to 0000h for Abort Exchange or

 

 

 

 

 

Refer to FC-FS-2 for Abort Sequence

 

 

 

 

 

 

 

 

 

HIGHEST SEQ_CNT

 

Set to FFFFh for Abort Exchange or

 

 

 

 

 

Set to SEQ_CNT field value of the ABTS

 

 

 

 

 

Frame for Abort Sequence

 

 

 

 

 

 

 

125

Working Draft, FCP-4