2.4 FC-2: Framing Protocol

   

The FC-2 framing protocol manages flow control so data will be delivered with no collisions or loss. This level defines the signaling protocol, including the frame and byte structure, which is the data transport mechanism used by Fibre Channel. The framing protocol is used to break sequences into individual frames for transmission, flow control, 32-bit CRC generation, and various classes of service.

To aid in data transfer, FC-2 provides for the following elements:

  • Frames ” basic units of information transfer. The maximum payload of a frame is 2112 bytes.

  • Sequences ” are made up of one or more frames. FC-2 names each sequence and tracks it to completion.

  • Exchanges ” are the largest construct understood by FC-2. An exchange is a unidirectional or bidirectional set of nonconcurrent sequences. SCSI-3 FCP uses bidirectional exchanges, with information passing in one direction at a time. To send data in the opposite direction, sequence initiative is passed from one port to another and back again. Each port generates one or more sequences within the exchange.

  • Packets ” are made up of one or more exchanges.

2.4.1 Frame Structure

The following figure demonstrates frame structure.

Figure 2-11. FC-2 Frame Structure

graphics/02fig11.gif

The total length of the frame is 2148 transmission characters or 537 transmission words. The SOF, CRC, and EOF are all one transmission word in length with the frame header being six transmission words in length. The frame is followed by a minimum of 6 idles (or 24 transmission characters ).

2.4.2 Frame Header Structure

The frame header is divided into fields to carry control information. The following figure shows these fields.

Table 2-1. Frame Header Structure Explanations

Routing Control (R_CTL)

Contains IC (Information Category) and RB (Routing Bits) subfields. Routing Bits indicate the frame type. The IC field indicates payload content (for example, SCSI status).

Destination ID (D_ID)

The native address of the destination N_Port, a well-known address, or an alias address.

Source ID (S_ID)

The address identifier of the source N_Port.

Type

The protocol associated with the payload (for example, SCSI-3)

Frame Control (F_CTL)

Bits that identify the transfer of sequence; beginning, middle, or end of sequence; and end of connection.

Data Field Control (DF_CTL)

Indicates the presence of optional headers.

Sequence ID (SEQ_ID)

A unique numeric sequence identifier between two ports.

Sequence Count (SEQ_CNT)

A 16-bit rollover frame counter or frame identifier.

Originator Exchange ID (OX_ID)

A number an exchange originator uses to uniquely identify an exchange.

Responder Exchange ID (RX_ID)

A number like OX_ID, but for the exchange responder.

Parameter

Contents may vary with frame type. Often used as a relative offset of payload contents.

   


Fibre Channel for Mass Storage
Fibre Channel for Mass Storage
ISBN: B000OHG7EW
EAN: 2147483647
Year: 1999
Pages: 53

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net