1、American National StandardDeveloped byfor Information Technology Fibre Channel SATA Tunneling Protocol(FC-SATA)INCITS 437-2008INCITS 437-2008INCITS 437-2008American National Standardfor Information Technology Fibre Channel SATA Tunneling Protocol(FC-SATA)SecretariatInformation Technology Industry Co
2、uncilApproved December 19, 2008American National Standards Institute, Inc.AbstractThis standard specifies a Fibre Channel mapping layer (i.e., an FC-4) to enable the use of Fibre Channel topologies to attach Serial ATA devices to ATA host systems. The Serial ATA interface is defined in the ATA/ATAPI
3、-7 set of standards (ANSI INCITS 397-2005).This standard specifies:a) Efficient transport of Serial ATA commands and responses over any Fibre Channel topology;b) Communication of necessary Serial ATA interface conditions over any Fibre Channel topology;c) Coordinated shared use of Serial ATA devices
4、 by multiple host systems on any Fibre Channel topology;d) Discovery of Serial ATA devices attached to any Fibre Channel topology; ande) Concurrent operation with other Fibre Channel FC-4s in the same Fibre Channel topology.This standard requires no changes to existing Serial ATA standards and no ch
5、anges to existing Fibre Channel standards other than nominal changes necessary for addition of a new FC-4. This standard is suitable for implementation in infrastructure attachment devices, so that existing Serial ATA and Fibre Channel products may be incorporated in systems that take advantage of t
6、his standard.Approval of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the standards developer.Consensus is established when, in the judgement of the ANSI Board ofStandards Review, substantial ag
7、reement has been reached by directly andmaterially affected interests. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that allviews and objections be considered, and that a concerted effort be madetowards their resolution.The use of Ame
8、rican National Standards is completely voluntary; theirexistence does not in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing, or usingproducts, processes, or procedures not conforming to the standards.The American National Standards
9、 Institute does not develop standards andwill in no circumstances give an interpretation of any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterpretation of an American National Standard in the name of the AmericanNational Standards Institute. Request
10、s for interpretations should beaddressed to the secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithdrawn at any time. The procedures of the American National StandardsInstitute require that action be taken
11、periodically to reaffirm, revise, orwithdraw this standard. Purchasers of American National Standards mayreceive current information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.25 Wes
12、t 43rd Street, New York, NY 10036Copyright 2009 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written permission of ITI, 1250 Eye Street NW, Washington, DC 200
13、05. Printed in the United States of AmericaCAUTION: The developers of this standard have requested that holders of patents that may be re-quired for the implementation of the standard disclose such patents to the publisher. However, nei-ther the developers nor the publisher have undertaken a patent
14、search in order to identify which, ifany, patents may apply to this standard. As of the date of publication of this standard, followingcalls for the identification of patents that may be required for the implementation of the standard,notice of one or more such claims has been received. By publicati
15、on of this standard, no positionis taken with respect to the validity of this claim or of any rights in connection therewith. The knownpatent holder(s) has (have), however, filed a statement of willingness to grant a license underthese rights on reasonable and nondiscriminatory terms and conditions
16、to applicants desiring to ob-tain such a license. Details may be obtained from the publisher. No further patent search is con-ducted by the developer or publisher in respect to any standard it processes. No representation ismade or implied that this is the only license that may be required to avoid
17、infringement in the use ofthis standard.iContentsPageForeword xii1 Scope 12 Normative References 22.1 Approved references . 22.2 References under development 22.3 Other references . 23 Definitions, symbols, abbreviations, and conventions 43.1 Definitions . 43.2 Symbols and abbreviations . 73.3 Keywo
18、rds 83.4 Editorial conventions . 83.5 Numeric and character conventions . 93.5.1 Numeric conventions 93.5.2 Byte encoded character strings conventions 93.6 Bit and byte ordering . 103.7 State machine conventions . 113.7.1 State machine notation . 113.7.2 Interfaces of a state machine or service . 12
19、3.8 T10 Vendor ID fields . 124 Structure and Concepts 134.1 Overview . 134.2 Role flexibility 154.3 Discovery 154.4 Communication of SATA Interface Control and Conditions 154.5 Transport of SATA FISes and protocol control messages 164.6 Support for SATA Native Command Queuing 164.7 FC-SATA Affiliati
20、ons . 164.7.1 Overview . 164.7.2 Affiliations and Override Affiliations 174.7.3 FC-SATA Affiliation behavior 174.7.3.1 Rules for FC-SATA Initiators . 174.7.3.2 Rules for FC-SATA Targets 175 Requirements for FC-2 services . 195.1 Overview . 195.2 Class of Service 19iiPage5.3 Frame Headers . 195.3.1 R
21、outing Control (R_CTL) 195.3.2 Data structure type (TYPE) . 195.3.3 Continue Sequence Condition 195.3.4 Abort Sequence Condition 195.3.5 Relative offset present 195.3.6 Data Field Control (DF_CTL) 195.3.7 Sequence count (SEQ_CNT) . 195.3.8 Parameter . 205.4 Sequence Management 205.4.1 FC-SATA IUs 20
22、5.4.2 Sequence count (SEQ_CNT) . 205.5 Exchange Management . 205.6 Exchange Pairs . 205.6.1 Overview of Exchange Pairs . 205.6.2 Opening Exchange Pairs 215.6.3 Terminating Exchange Pairs . 225.6.3.1 Overview . 225.6.3.2 Normal Exchange Pair Termination 225.6.3.3 Abnormal Exchange Pair Termination 22
23、6 Requirements for processes based on Extended Link Services 236.1 Overview . 236.2 Explicit Fabric Login procedure 236.3 Explicit N_Port Login procedure . 236.4 Process Login . 256.4.1 Overview . 256.4.2 Page Length . 266.4.3 Payload Length . 266.4.4 Service Parameter Page TYPE Code . 266.4.5 TYPE
24、Code Extension 266.4.6 Process_Associators 266.4.7 Service Parameters 276.5 Explicit Process Logout 286.5.1 Overview . 286.5.2 Payload Length . 286.5.3 Service Parameter Page TYPE Code . 286.5.4 TYPE Code Extension 286.5.5 Process_Associators 286.6 TPRLO 286.6.1 Payload Length . 286.6.2 Service Para
25、meter Page TYPE Code . 296.6.3 TYPE Code Extension 296.6.4 Process_Associators 296.7 RNFT 29iiiPage7 Requirements for Generic Services 307.1 Overview . 307.2 FC-4 TYPEs object and RFT_ID command 307.3 FC-4 Features object and RFF_ID command . 308 FC-SATA Link Services 318.1 Overview . 318.2 COMRESET
26、 Request (COMR) . 328.2.1 Description 328.2.2 Protocol . 328.2.3 Request Format 328.2.4 Accept Reply Format . 338.3 COM Port Selector Request (COMPS) . 338.3.1 Description 338.3.2 Protocol . 348.3.3 Request Format 348.3.4 Accept Reply Format . 348.4 Close Affiliation Request (CAR) 348.4.1 Descriptio
27、n 348.4.2 Protocol . 358.4.3 Request Format 358.4.4 Accept Reply Format . 368.5 Read SStatus, SError, and SControl Registers (RSCRS) 368.5.1 Description 368.5.2 Protocol . 368.5.3 Request Format 368.5.4 Accept Reply Format . 378.6 Signature Frame Request (SFR) 378.6.1 Description 378.6.2 Protocol .
28、388.6.3 Request Format 388.6.4 Accept Reply Format . 388.7 Reject Reply (FCSATA_RJT) 398.7.1 Description 398.7.2 Format . 398.8 Accept Reply (FCSATA_ACC) 418.8.1 Description 418.8.2 Format . 419 FC-SATA Information Units . 429.1 Overview . 429.2 Control Request IU 439.2.1 Overview . 439.2.2 Open Exc
29、hange Pair Request . 449.2.3 Close Exchange Pair Request 459.2.4 Open Exchange Pair with Affiliation Request 45ivPage9.2.5 Open Affiliation Request . 469.2.6 Close Affiliation Request . 469.2.7 Open Exchange Pair with Override Request 469.2.8 R_ERR Primitive Report . 479.2.9 Target Busy Report . 479
30、.2.10 Target No Longer Busy Report . 489.2.11 Target Affiliated Report . 489.3 Control Response IU 499.3.1 Overview . 499.3.2 Open Exchange Pair Response . 519.3.3 Open Exchange Pair with Affiliation Response 529.3.4 Open Affiliation Response 529.3.5 Close Affiliation Response 539.3.6 Open Exchange
31、Pair with Override Response . 539.3.7 Reserved Action Response 549.4 Command FIS IU 549.5 Other FIS IU 559.6 Data FIS IU . 5510 FC-SATA state machines . 5610.1 Overview . 5610.2 Abstract services used by the FC-SATA state machines . 6110.2.1 FC-2 service . 6110.2.1.1 Overview . 6110.2.1.2 Provide a
32、Local Nx_Port parameter 6110.2.1.3 Send an Add Initiator request to a SATA Device service . 6110.2.1.4 Send a Remove Initiator request to a SATA Device service 6110.2.1.5 Send a Create IT Pair request to an IT Pair state machine 6110.2.1.6 Send a Terminate IT Pair request to an IT Pair state machine
33、 . 6110.2.1.7 Send an Arriving IU request to an Exchange Event state machine 6110.2.1.8 Send a Exchange Termination request to an Exchange Event state machine . 6210.2.1.9 Process a Send Sequence request 6210.2.1.10 Process an Abort Exchange request 6210.2.2 SATA Host service 6210.2.2.1 Overview . 6
34、210.2.2.2 Process an Affiliation Releasable request 6210.2.2.3 Process a Pair Status request 6210.2.2.4 Process an Affiliation Status request 6310.2.2.5 Process an R_ERR request 6310.2.2.6 Process a Target Busy request 6310.2.2.7 Process a Target No Longer Busy request . 6310.2.2.8 Process a Target
35、Affiliated request . 6310.2.2.9 Process an Arriving FIS request . 6410.2.2.10 Process a Link Service Status request . 6410.2.3 SATA Device service 6410.2.3.1 Overview . 6410.2.3.2 Provide a Initiator Limit parameter 6410.2.3.3 Provide a Status parameter 64vPage10.2.3.4 Provide a Signature Frame para
36、meter 6410.2.3.5 Provide a Command Incomplete parameter . 6410.2.3.6 Process an Add Initiator request . 6410.2.3.7 Process an Remove Initiator request 6510.2.3.8 Process a Link Service Status request . 6510.2.3.9 Process an Arriving FIS request . 6510.2.3.10 Process a COMRESET request 6510.2.3.11 Pr
37、ocess a COMPS request . 6510.3 IT Pair state machine 6610.3.1 Overview . 6610.3.2 Interface specification . 6610.3.2.1 Provide a State parameter 6610.3.2.2 Provide a Local Nx_Port parameter 6610.3.2.3 Provide a Remote Nx_Port parameter 6610.3.2.4 Provide a Role parameter . 6710.3.2.5 Process a Creat
38、e IT Pair request 6710.3.2.6 Process a Terminate IT Pair request 6710.3.3 State machine specification 6710.3.3.1 Overview . 6710.3.3.2 S0: Idle 6710.3.3.3 S1: Operational . 6910.4 Exchange Event state machine . 6910.4.1 Overview . 6910.4.2 Interface specification . 7010.4.2.1 Provide a State paramet
39、er 7010.4.2.2 Provide an IT Pair parameter 7010.4.2.3 Process a Create Machine request . 7010.4.2.4 Process a Terminate Machine request . 7010.4.2.5 Process an Arriving IU request . 7010.4.2.6 Process an Exchange Termination request 7010.4.3 State machine specification 7110.4.3.1 Overview . 7110.4.3
40、.2 S0: Idle 7110.4.3.3 S1: Operational . 7110.5 Exchange Pair state machine . 8010.5.1 Overview . 8010.5.2 Interface specification . 8110.5.2.1 Provide a State parameter 8110.5.2.2 Provide an IT Exchange parameter 8110.5.2.3 Provide a TI Exchange parameter 8110.5.2.4 Process a Create Exchange Pair r
41、equest . 8210.5.2.5 Process a Set TI Exchange request 8210.5.2.6 Process an Exchange Termination request 8210.5.3 State machine specification 8210.5.3.1 Overview . 8210.5.3.2 S0: Idle 8210.5.3.3 S1: Opening 8310.5.3.4 S2: Operational . 8310.5.3.5 S3: Closing 83viPage10.6 Control Request state machin
42、e 8410.6.1 Overview . 8410.6.2 Interface specification . 8410.6.2.1 Provide a State parameter 8410.6.2.2 Process an Arriving IU request . 8410.6.3 State machine specification 8510.6.3.1 Overview . 8510.6.3.2 S0: Idle 8510.7 Initiator Affiliation state machine . 10610.7.1 Overview . 10610.7.2 Interfa
43、ce specification . 10710.7.2.1 Provide a State parameter 10710.7.2.2 Provide a Target Nx_Port parameter 10710.7.2.3 Process a Create Machine request 10710.7.2.4 Process an Affiliate request 10810.7.2.5 Process an Override request 10810.7.2.6 Process a Close request . 10810.7.2.7 Process a Terminate
44、Machine request . 10810.7.3 State machine specification 10810.7.3.1 Overview . 10810.7.3.2 S0: Idle 10810.7.3.3 S1: Free 10910.7.3.4 S2: Affiliated 10910.7.3.5 S3: Override 11010.8 Target Affiliation state machine 11010.8.1 Overview . 11010.8.2 Interface specification . 11110.8.2.1 Provide a State p
45、arameter 11110.8.2.2 Provide an Initiator Nx_Port parameter 11110.8.2.3 Process an Affiliate request 11110.8.2.4 Process an Override request 11110.8.2.5 Process a Close request . 11110.8.3 State machine specification 11210.8.3.1 Overview . 11210.8.3.2 S1: Free 11210.8.3.3 S2: Affiliated 11210.8.3.4
46、S3: Override 11310.9 COMR FC-SATA Link Service state machine 11310.9.1 Overview . 11310.9.2 Interface specification . 11410.9.2.1 Provide a State parameter 11410.9.2.2 Process an Arriving IU request . 11410.9.3 State machine specification 11410.9.3.1 Overview . 11410.9.3.2 S0: Idle 11510.10 COMPS FC
47、-SATA Link Service state machine 11510.10.1 Overview . 11510.10.2 Interface specification . 11610.10.2.1 Provide a State parameter 11610.10.2.2 Process an Arriving IU request . 116viiPage10.10.3 State machine specification 11610.10.3.1 Overview . 11610.10.3.2 S0: Idle 11710.11 SFR FC-SATA Link Servi
48、ce state machine . 11810.11.1 Overview . 11810.11.2 Interface specification . 11910.11.2.1 Provide a State parameter 11910.11.2.2 Process an Arriving IU request . 11910.11.3 State machine specification 11910.11.3.1 Overview . 11910.11.3.2 S0: Idle 12010.12 CAR FC-SATA Link Service state machine 1211
49、0.12.1 Overview . 12110.12.2 Interface specification . 12110.12.2.1 Provide a State parameter 12110.12.2.2 Process an Arriving IU request . 12110.12.3 State machine specification 12110.12.3.1 Overview . 12110.12.3.2 S0: Idle 12210.13 RSCRS FC-SATA Link Service state machine . 12510.13.1 Overview . 12510.13.2 Interface specification . 12610.13.2.1 Provide a State parameter 12610.13.2.2 Process an Arriving IU request . 12610.13.3 State machine specification 12610.13.3.1 Overview . 12610.13.3.2 S0: Idle 12710.14 Send IU state machine 12710.14.1 Overview . 12710.14.2 Interface 12810.14.2.1 P