Skip to content

Discussion about initial PSM state #53

@bluecmd

Description

@bluecmd

The protocol state machine is defined with these edge states:

  • Link Initialization OL1 7.8.2
  • Link Reset LR1 7.8.3
  • Link Failure LF2 7.8.4
  • Online-to-Offline OL1 7.8.5

The standard says:

7.8.2 Link Initialization Protocol

The Link Initialization Protocol shall be performed by an LCF after one of the following events has
occurred:

a) powered-on;
b) internal reset (the definition of internal reset is beyond the scope of this standard); or
c) has been offline and desires to come back online.

The Link Initialization Protocol begins when the LCF enters the OL1 State after one of the above events has been detected and is complete when the LCF enters the Active State.

The Link Initialization Protocol results in implicit Fabric Logout (see FC-LS-4).

7.8.3 Link Reset Protocol

The Link Reset Protocol shall be performed when any of the following conditions are detected:

a) link timeout (see 22.5.2); or
b) buffer-to-buffer overrun (i.e., an FC_Port receives a frame subject to buffer-to-buffer flow control without a buffer available).

The Link Reset Protocol begins when the FC_Port enters the LR1 State after one of the above events has
been detected and is complete when the FC_Port enters the Active State.

7.8.4 Link Failure Protocol

The Link Failure Protocol shall be performed after an FC_Port has detected one of the following
conditions:

a) a Loss-of-Synchronization for a period of time greater than R_T_TOV;
b) Loss-of-Signal while not in the Offline State; or
c) Link Reset Protocol timeout error is detected (see 7.8.3).

The Link Failure Protocol begins when the FC_Port enters the LF2 State after one of the above events has
been detected and is complete when the Active State is entered.

Vocabulary:

  • Link Control Facility (LCF) - hardware facility that attaches to an end of a link and manages transmission and reception of data

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationfcAffects the Fibre Channel partquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions